OpenSprinkler Forums Third-Party Software New project, ospiLCD-mqtt: LCD Status Display, MQTT driven

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68394

    sirkus7
    Participant

    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

    LCD Status Display, run on a stand alone Raspberry Pi Zero W

    #73498

    wifi75
    Participant

    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:

    [email protected]:/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
    [email protected]:/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?

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