Powering off and/or locking the display touch screen of the Spa using Wi-Fi remote? #582
-
Hi, Just got a Wi-Fi module on Friday and so far I've been happy with it and I have spent some time reverse engineering the WebUI and figuring out how I could control the Spa unit over Linux CLI. I figured out that the data can be read from the device using Arduino port 81 http://layzspa.local:81 and I was able to get out the settings in JSON format. I did as well find out that you can actually use curl and HTTP POST to activate commands via http://layzspa.local/addcommad/. However I have been trying to figure out if there is a way to apply the display button lock on using Wi-Fi module as well as completely powering of the Spa unit? You can see the button status in the States JSON
Anyway, I did not find the cmd number for either power of lock. Wi-Fi hack contains index.js file that describes the cmd ID's for other comands. index.js E.g. from here I got the cmd ID for pump management. You can turn on the pump/filtering simply like in bellow. Cmd ID 4 for "togglePump" and value true means turn it on. So does anyone know is there a way for powering off or lock the display touch screen of the device? The Spa it self is Lay-Z-Spa Miami model 2021. Thanks in advance! Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, the commands are also described in the manual under mqtt. The 'power' button is, AFAIK, nothing more than dimming the display and lock the buttons. You can do that by setting brightness to zero and the display will auto lock when no input is made. What I'm saying is that the so called power function is not useful, and the lock function is mostly annoying. Therefore the esp automatically conveniently unlocks and power up the display when pressing buttons or sending commands. If you really want to prevent children or guests (invited or not) from messing with the pump, you can disable the display buttons from the UI (maybe it hasn't reached master branch yet but it's in the beta version)
|
Beta Was this translation helpful? Give feedback.
Hi, the commands are also described in the manual under mqtt. The 'power' button is, AFAIK, nothing more than dimming the display and lock the buttons. You can do that by setting brightness to zero and the display will auto lock when no input is made. What I'm saying is that the so called power function is not useful, and the lock function is mostly annoying. Therefore the esp automatically conveniently unlocks and power up the display when pressing buttons or sending commands. If you really want to prevent children or guests (invited or not) from messing with the pump, you can disable the display buttons from the UI (maybe it hasn't reached master branch yet but it's in the beta version)