Michael Briggs Posted January 13, 2021 Share Posted January 13, 2021 I am developing a driver based off the Pool Proxy Template, and I am struggling to populate the user interface (pictured below) with anything. As a start I am trying to simply set the Air Temperature to a value of 40. To do this I am using the command: gPoolProxy:dev_AirTemperature(40). I have tried placing this command in several places: ON_DRIVER_EARLY_INIT ON_DRIVER_INIT ON_DRIVER_LATEINIT A button in Actions which calls LUA_ACTION.update GET_STATE_HANDLED Any help would be greatly appreciated. Thank you. Quote Link to comment Share on other sites More sharing options...
Michael Briggs Posted January 14, 2021 Author Share Posted January 14, 2021 Update: I have managed to get the driver to communicate with the UI. I started a fresh Driver Project and placed the gPoolProxy:dev_AirTemperature(40) command in ON_DRIVER_LATEINIT.pool_init() and the UI updated correctly. Quote Link to comment Share on other sites More sharing options...
Kaas Mayer Posted January 14, 2021 Share Posted January 14, 2021 maybe you can shere your driver later if you don´t want to sell it. It would help my to develope my own driver for my spa. (wich i would deliver for free) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.