It is strange, i can´t get it wrong here. When the status goes to turning xx, it waits on the returning status from the command it has send to DZ, it should automatically change to on or off, refresh should not be needed. It might be that the returning status is being interpreted incorrrectly. To check could you go to Live Logging in the IDE and see what is being put out when you the command in bot Domoticz Server and the device you use?
the Device should show like this
The App should show:
Could you also check in the IDE under my locations, list smartapps if there is only one instance of Domotics Server (just to be sure)…
Funnily though even though the light shows up as a header option there is no logged information available!!!.
Double checked, yep only one instance of the App.
In case it makes a difference, i see you made some changes to the layout of the app. This is my config:-
Domoticz Group: false
Domoticz Adddress: My Pi3 addy
Domoticz Plans: My Room names, 4 in total
Domoticz Room Plans: True
Domoticz Scene: False
Domoticz Port: Random not port 80
Domotica Trace: True
Domoticz Types: On/Off/Dimmers/RGB
I think I identified the issue, could you do a final check for me to have it confirmed: In the IDE, installed smartapps, domoticz server and look in the Application State for variable listOfRoomPlanDevices, is it empty??
I think I have created a workaround (it needs more fixing) but if you update the App from repo now, it might work for you (sorry, being careful )
PS. should be fixed now. Was a faulty definition of the callbackhandler for roomplan info that was not defined public. Thus the devices were not defined in the listofroomplandevices, and when not defined it was ignored by the event logic. Have changed the event logic to always proces events if a device exist in ST. Roomplan devices are only checked now when an attempt is made to add these.
I have noticed a small bug though. If I turn on a Domoticz dimmer from SmartThings everything is fine, but if I change the dim level, the lamp changes to the correct dim value, but in SmartThings the state for the device toggles from “ON” to “OFF”. If I change the dim level again, the lamp continues to dim, but the SmartThings app still says “OFF”. It should remain in the “ON”-state when dimming.
I have been doing some worklately on the app and devices and have just committed it to github. if you can check the version you are running and make sure it is 4.04, it could not recreate it on that version, so it might have been fixed.
You also need to update the devices that start with domoticz from github as well.
V 4.04 also introduces a new device type domoticzDuskSensor. I am using Hue connection in Domoticz to have the motion sensors from Hue as a device in ST as well, they have a seperate Dusk Sensor that you can now use,
Are they kwh devices that are related to other, switch type, devices? I currently have some zwave devices that are reporting kwh usage and have the same ID as the switch they belong to, in your case 53DF2A01 for Samsung Plug Usage, so i guess you have a plug that is Samsung AC? If the ID´s are the same in my next round of software it will connect the power usage to the plug in ST and report on usage in 1 device. It will also have the ability to show some usage graphs…so wait a little, i am almost finished! You might have to delete these usage devices in ST when i release the code.
I have committed version 4.07 for the APP and 5.00 for DTH domoticzOnOff to github. added some code to look for xiaomi plugs etc. But cannot test it myself. Would you be so kind and see if it works for you?
If you press refresh in the device a graph with usage should appear. Readability is currently no great but would like to know if it works… multiple refreshes will bring you from daily to weekly, monthly and annual graphs.
Please delete the kwh devices from ST after upgrade and open App and save Domoticz Server.