minukodu / minuvis-webapp.iobroker

WebApp for ioBroker
Other
3 stars 1 forks source link

Value (of ValueSwitcher/Slider) has wrong datatype #7

Closed dev-xaur closed 4 years ago

dev-xaur commented 4 years ago

I was playing around a bit and came across the following problem. Both the slider and ValueSwitcher always send the value as a string.But my Shelly Switch expects a number, so the following message appears in the iobroker log: shelly.0 | 2020-05-08 22:31:30.127 | error | (29284) Datatype for SHSW-21#5A4267#1.Shutter.Position differs from expected, ignore state change! Please write correct datatype (number)

the right event to go with it: stateChange | shelly.0.SHSW-21#5A4267#1.shutter.position | "30" | false | socketio.1 | 2020-05-08 22:31:30.124 | 2020-05-08 22:31:30.124

SVallant commented 4 years ago

Please check out fixed version here: http://dev.builder.minukodu.de/

If this is working, i will update the iobroker adapter

dev-xaur commented 4 years ago

hi, boths work fine in 1.0.4-dev