Hi all,
I want to open & close my entry portal with a Swicth on Domoticz web inerface, i've tested many differents things, without good result:
Currently My entry portal is drived with a Raspberry:
Open/close : I send an http request to RsPi (it's still working)
Detect portal position : I can send a specific http request to the RsPi and RsPi server return JSON status with numeric variable corresponding to the portal position: (1=open/2=close/3=moving/stopped/4=position error) (this working well)
Where I am today:
I'm using a (ON/OFF) Domoticz Switch to Open /close the portal .
I've a Lua script polling freqyently the RsPi for the JSON status, so i've, in the (Domoticz log file) the numeric value of the portal position
What i attempted (without success):
Have the Pushbutton command, with a picture representing the portal position depending the numeric JSON value (scirpt Lua), and have a text indicating the portal position.
See below what i expect :
Many thx
(Custom?) Switch gate command with status indicator
Moderators: leecollings, remb0
-
- Posts: 1
- Joined: Wednesday 14 November 2018 17:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
(Custom?) Switch gate command with status indicator
- Attachments
-
- IMG_20181114_091349.jpg (275.05 KiB) Viewed 212 times
Who is online
Users browsing this forum: Google [Bot] and 1 guest