Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real time #5

Open
wifi75 opened this issue Nov 15, 2017 · 5 comments
Open

Real time #5

wifi75 opened this issue Nov 15, 2017 · 5 comments

Comments

@wifi75
Copy link

wifi75 commented Nov 15, 2017

Hello Stanoba, it is possible have display info in real time?
than it is possible add other information in other page, for exaple the temperature ?

@stanoba
Copy link
Owner

stanoba commented Jul 13, 2020

Hi @wifi75, it's possible to show info but not in real time as cron has minimum interval one minute. If API offers temperature, it's possible too.

LCD

@wifi75
Copy link
Author

wifi75 commented Jul 13, 2020

with the last version of opesprinkler not work, and I don't know how fix it

@stanoba
Copy link
Owner

stanoba commented Jul 13, 2020

It's difficult for me to update code as I switched from OSPI to OS 3.0 and I don't have a rig where can I test result. Give me few days, maybe I will figure something out.

@wifi75
Copy link
Author

wifi75 commented Jul 13, 2020

ok I will wait

@sirkus7
Copy link

sirkus7 commented Sep 30, 2020

@wifi75 Given that Stanley doesn't have an OSPI setup to work with at the moment, you may have an interest in an offshoot I'm working on that addresses your original question. I wanted a version that immediately updates the display when the OSPI does things, without having to poll the OSPI for status.

To accomplish this, I added MQTT support. This essentially uses OpenSprinkler's MQTT support to notify the ospiLCD.py script that OpenSprinkler's status has changed -- making the status change on the display happen right away. The only possible downside is that this requires an MQTT server (broker.) The good news, is that it is simple to run an MQTT server on the Raspberry PI, and I've written a tutorial to set it up. It's working great for me.

Since I appreciate @stanoba 's appraoch to his ospiLCD.py script, I didn't try to branch his project further and encumber it with MQTT requirements and the other directional changes I keep making, so I created a new repo called ospiLCD-mqtt to work on.

If you (or @stanoba) are interested in this functionality, you can check it out here: https://github.com/sirkus7/ospiLCD-mqtt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants