qnap-dev / qnap-qiot-sdks

QNAP QIoT - quickly structure your IoT environment and deployment
http://qiot.qnap.com
113 stars 39 forks source link

Configuration issues trying to use Tasmota device with QIot #6

Open mrloddo opened 5 years ago

mrloddo commented 5 years ago

Hi all, I'm trying to use (and so to configure) Tasmota device with QIoT. I'm create QIoT application and I've create a thing named Sonoff1.

Now, when I toggle power on the device, on rule section, in the debug pane, I receive: "SyntaxError: Unexpected token O :[qiot/things/admin/Sonoff1/POWER]ON"

How can I configure QIoT to receive this kind of payload?

Thanks Marco

blackmesataiwan commented 5 years ago

Hi mrloddo,

You can reference this tutorial : How to connect to QIoT Suite Lite using MQTT?. Payload must be to this JSON format : {"value" : <data>} , like this : {"value" : "ON"}. You can try it, Thank you!