Comments (1)
It turned out that the request parameter desiredProperties
breaks the API call. It seems that the request schema has changed since the code was written. (See https://docs.microsoft.com/fi-fi/azure/iot-hub/iot-hub-devguide-device-twins#desired-property-example)
I managed to fix the error by removing the lines
if 'desiredproperties' not in keys:
payload_json['desiredProperties'] = {}
from iot_hub_helpers.py
. After this change I managed to get the Web App working. The devices are now connected and I am able to create new devices.
As a side note, to get the code working, I had to fork my own copy of the repository, unzip the file binaries/WebApp.zip
, change the file iot_hub_helpers.py
and rezip the file.
from ai-predictivemaintenance.
Related Issues (19)
- During deployment, databricks URL is incorrect HOT 1
- Deployment failed - Databrick's featurization_task HOT 3
- VM Provisioning - ScriptExtension failed HOT 1
- Azure Error: InvalidTemplate HOT 1
- How this AI-Predictive Maintenance workflow is working ? HOT 5
- Error in Model Training.... HOT 3
- Unable to create WorkSpace HOT 1
- Model Registration Issue HOT 1
- Cant build data-generator !!! HOT 1
- linuxDsvmTemplate deployment failed HOT 5
- Data Generator HTTP Error
- Data generator error from device: TableNotFound HOT 2
- Issue accessing Linux DSVM HOT 2
- .
- import error HOT 1
- This repo is missing important files HOT 1
- Issue when try to deploy to azure
- Test issue 2018/06/11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-predictivemaintenance.