NSPanel support

Some progress on app; I had to begin re-writing it from fresh, but finally I have reached progress that my previous version had, and some more; app updates time and date automatically and then some; Initially screensaver comes up with time, but in few seconds it adds forecast to it, indoor temperature can be retrieved from panel’s own temperature sensor - or it can be set from other source with flow as well.

Panel’s device page has switches and their state’s + you can change state from there, on the sensor page, you get firmware version, temperature sensor’s value and region for now.

There is no automatic retrieval of forecast- it’s left for user; There’s 2 ways to do this, with simple json:
{'weather': [{'icon':'11d', 'temp': 21.3}, ..]} where array is parsed for maximum of 4 objects, first object is today.. Or you can use secondary action that accepts OpenWeatherMap’s OneCall API 3.0, which I will not start describing here, anyway - I excluded minutely, hourly and alerts and chose metric units - and retrieved JSON can be sent to NSPanel as is-

So, my flow is quite a lot simpler than previously introduced one;


In this picture, both; retrieval and updating of weatherData and sending to nspanel is handled both in very little effort. What I forgot, was to make it update weather on panel, when weatherData is updated - but that’s very simple to add, there is condition “is panel online”, that can be checked after storing weatherData, and then link to same sending of data to Panel.

Offline and online events on panel are detected. For the moment - only screensaver/forecast screen is supported; there is support for top left and top right icons in code, but no flow yet for using it.

I have plans to make triggers such as “exited screensaver”, that you could combine with action such as “show alarm_pane with settings {json}” or something similar and some kind of simple format for those settings; which of course, would be different for every page type, but would make it a lot easier than using through Tasmota mqtt…

I thought this had automatic dimming; well, no it doesn’t, so that should be also done as a flow, like “screensaver activated” → “start timer for 120seconds” → “set brightness to 0”

But it’s a long road to do all alone.