- This topic has 1 reply, 2 voices, and was last updated 4 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Third-Party Software › New project, ospiLCD-mqtt: LCD Status Display, MQTT driven
New project, based on ospiLCD project, but updated for recent firmware (2.1.9) and levearges MQTT notifications for immediate updates. It can be run directly on an OSPi system, or run on a separate Raspberry Pi somewhere else on the network. Full setup/install instructions provided on the Github repo:
https://github.com/sirkus7/ospiLCD-mqtt

Hello, I have broker mosquit with user and password:
How I can set ospiLCD-mqtt.py configuration file?
I tried like this:
mqttAddress = “192.168.1.52”
mqttPort = “1883”
mqttUser = “mqtt_user”
mqttPassword = “mypassword”
but not working:
root@opensprinkler:/home/pi# ./ospiLCD-mqtt.py
Traceback (most recent call last):
File “./ospiLCD-mqtt.py”, line 231, in <module>
dotsize=8, charmap=’A02′, auto_linebreaks=True, backlight_enabled=True)
File “/usr/local/lib/python2.7/dist-packages/RPLCD/i2c.py”, line 168, in __init__
auto_linebreaks=auto_linebreaks)
File “/usr/local/lib/python2.7/dist-packages/RPLCD/lcd.py”, line 98, in __init__
self._init_connection()
File “/usr/local/lib/python2.7/dist-packages/RPLCD/i2c.py”, line 173, in _init_connection
self.bus = SMBus(self._port)
IOError: [Errno 2] No such file or directory
root@opensprinkler:/home/pi# ./ospiLCD-mqtt.py
Traceback (most recent call last):
File “./ospiLCD-mqtt.py”, line 231, in <module>
dotsize=8, charmap=’A02′, auto_linebreaks=True, backlight_enabled=True)
File “/usr/local/lib/python2.7/dist-packages/RPLCD/i2c.py”, line 168, in __init__
auto_linebreaks=auto_linebreaks)
File “/usr/local/lib/python2.7/dist-packages/RPLCD/lcd.py”, line 98, in __init__
self._init_connection()
File “/usr/local/lib/python2.7/dist-packages/RPLCD/i2c.py”, line 173, in _init_connection
self.bus = SMBus(self._port)
IOError: [Errno 2] No such file or directory
what can I do?
OpenSprinkler › Forums › Third-Party Software › New project, ospiLCD-mqtt: LCD Status Display, MQTT driven