Virtual Driver Inputs

2 years 9 months ago #2031 by Bert
Hi,

I'm trying to send sensor values to EasyIoT via the Api url. (In my case /Api/EasyIoT/Control/Module/Virtual/N4S0/ControlLevel/25 )

Problem is when I choose sensor types S_GENERIC, S_WATER or S_LEAK I don't receive a response and no data is logged. Change the input to S_ANALOG_INPUT or S_HUM and it starts working.

I've attached a log
N4S0 = S_GENERIC --> Changed it to S_ANALOG_INPUT
N5S0 = S_WATER
N7S0 = S_LEAK

Kind Regards,
Bert
Attachments:

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

2 years 9 months ago #2041 by medyk8ns
Probably you cannot set control level for those types(S_GENERIC, S_WATER or S_LEAK).
Maybe try using ControlOn, ControlOff, ControlUp, ControlDown, ControlStop.
I think that ControlLevel will only work with modules with knob(S_ANALOG_OUTPUT, S_HUM_AO, S_TEMP_AO, S_DIMMER, S_COVER).

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

2 years 9 months ago #2079 by EasyIoT
If you can set value in WEB user interface, then you can also set value in program.

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

Time to create page: 0.195 seconds