Welcome, Guest
Username: Password: Remember me

TOPIC: Virtual Driver Inputs

Virtual Driver Inputs 2 years 1 week ago #2031

  • Bert
  • Bert's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
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:
The administrator has disabled public write access.

Virtual Driver Inputs 2 years 1 week ago #2041

  • medyk8ns
  • medyk8ns's Avatar
  • Offline
  • Junior Member
  • Posts: 25
  • Thank you received: 5
  • Karma: 0
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).
The administrator has disabled public write access.

Virtual Driver Inputs 2 years 1 day ago #2079

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 833
  • Thank you received: 258
  • Karma: 24
If you can set value in WEB user interface, then you can also set value in program.
The administrator has disabled public write access.
Time to create page: 0.128 seconds
Powered by Kunena Forum