Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Synopsis
- Thng Properties that were created with the `evrythng-extended.js` SDK and ARE NOT
- URL encoded are not being published by the MQTT broker at mqtt.evrythng.com
- # Description
- In my custom Reactor script, I was creating Thng Properties that look like the following:
- ```
- __rule__efb705593acd44cbb828e4e52befdf30__condition__ambient_light_>_5_@10s
- ```
- Note the `>` and `@` symbols. I was creating these Properties using the
- `evrythng-extended.js` SDK with the following command:
- ```javascript
- app.thng(this.thng.id).property($PROPERTY).update(payload).then((response) => {
- "..."
- })
- ```
- ...where `$PROPERTY` was a string like the above example.
- When I subscribed to the MQTT topic of the Thng that the above Property was on,
- I recieved updates to every Property EXCEPT that one. When I changed the name
- to the following:
- ```
- __rule__efb705593acd44cbb828e4e52befdf30__condition__ambient_light_LT_5_10s
- ```
- I recieved those Properties just fine.
- I tested this out using MqttFx, to be sure it was an issue on your end, and got
- the same result.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement