Dave and Emre hi. First for Dave my DW2 works very well.
A last question (I hope) I try to display the battery voltage info which I see in the **log 2.813 but I selelct in the channel link **
JSONPATH:$.DoorTrap1.battery and format %.3f and as you see in the log below it cannot transform. I tried all sorts of device names DoorTrap1 , DeviceID , even the channel-linik name with no success.
I know I am distracting you from the main subject but probably someone or you can advise on how to format . Thank
Dimitri
openhab> log:tail
23:30:48.439 [DEBUG] [onoff.internal.handler.HandlerAccount] - Sonoff Connection Check Running
23:30:51.574 [DEBUG] [sonoff.internal.connections.Websocket] - Websocket Sending Message:ping
23:30:51.581 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"zmsJ4ApQ","ts":1616189451581,"version":8}
23:30:51.658 [DEBUG] [sonoff.internal.connections.Websocket] - Pong Response received
23:30:51.805 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Devices response:{"error":0,"msg":"","data":{"thingList":[{"itemType":1,"itemData":{"name":"DoorTrap1","deviceid":"1001038d41","apikey":"92cdd98d-13a3-4578-8e01-839a747dfc95","extra":{"uiid":102,"description":"20201022001","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:07:17:d3","mac":"d0:27:02:07:17:d2","ui":"WiFi门磁","modelInfo":"5e1541388ceaa2dd27be4af4","model":"OPL-DMA-GL","manufacturer":"深圳松诺技术有限公司"},"brandName":"SONOFF","brandLogo":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","showBrand":true,"productModel":"DW2-Wi-Fi","devConfig":{"lowVolAlarm":2.6},"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1,"doorOnNotify":1,"doorOffNotify":1},"devGroups":[],"family":{"familyid":"603aa822a2965000071f8c52","index":0,"roomid":"603aa822a2965000071f8c4f"},"shareTo":[],"devicekey":"bb148e58-4ca6-43c1-82ae-730ee32fc75d","online":false,"params":{"bindInfos":{},"switch":"off","battery":2.813,"fwVersion":"1000.2.924","type":4,"chipID":"d027020717d2","mac":"d027020717d2","rssi":-92,"lastUpdateTime":"2021-03-19T21:20:36.191Z","actionTime":"2021-03-19T20:36:07.779Z"},"denyFeatures":["sceneClick"]},"index":0}],"total":1}}
23:30:51.826 [DEBUG] [ff.internal.messaging.MessageProvider] - Forwarding state to 1001038d41
23:30:51.844 [WARN ] [rofiles.JSonPathTransformationProfile] - Could not transform state '2 V' with function '$.MainEntranceDoorTrap1_Voltage.battery' and format '%.3f Volts'