MQTT switch / Light Sensor Problem

5 years 10 months ago #2473 by Jagohu
Hi,

I'm trying to add a switch to the MQTT driver, but I couldn't find a list of the correct property names.
I have tried
Switch
Switch.DigitalOutput
DigitalOutput
But they don't work, at least nothing gets published to the MQTT server topic.
I also have a problem with a Light sensor through MQTT, the connection and the digital data comes in, but if I change it into a light sensor, it displays nothing.
Could you help me?
Cheers!

Please Log in or Create an account to join the conversation.

5 years 10 months ago - 5 years 10 months ago #2474 by piman
Try using ,Sensor.DigitalValue for the switch and Sensor.Light for your light sensor.
The following user(s) said Thank You: Jagohu

Please Log in or Create an account to join the conversation.

5 years 10 months ago #2481 by EasyIoT
@Piman is right.

Mapping of module parameters and module types is relay confusing. That's why in Cloud this is simplified to only Sensor.ParameterX. You can also add/modify module visualization.
The following user(s) said Thank You: Jagohu

Please Log in or Create an account to join the conversation.

Time to create page: 0.235 seconds