Avatar for PuckU

PuckU

Member since Dec 2021 • Last active Jan 2022
  • 1 conversations
  • 2 comments

Most recent activity

  • in Interfacing
    Avatar for PuckU

    I have Espruino Hub working on both a Raspberry Pi Zero W and Raspberry Pi4.

    I prefer the Raspberry Pi 4 because it runs the python commands I am using with Node-Red faster. I am using the PuckJs to toggle on and off my TP-Link Kasa smart bulbs and sockets via Node-Red and the "python-kasa" library.
    https://python-kasa.readthedocs.io/
    It works a lot faster than IFFT and does not require TP-Link cloud services over the internet.

    I am still having an issue with autostart on boot...

    [Config] Config config.json loaded
    [HTTPProxy] config.http_proxy=false, not enabling Bleno/Proxy
    [MQTT] Connecting...
    [HTTP] Server is listening on http://localhost:1888
    [HTTP] www directory found at /home/pi/EspruinoHub/www. Web server at http://localhost:1888
    [History] history_path value is empty, thus not providing history.
    [MQTT] Connected
    [Discover] Re-sending presence status of known devices
    [MQTT] Write to f7:e3:xx:xx:xx:xx but not in range
    [Discover] Noble StateChange: poweredOn
    [Discover] Starting scan...
    [Discover] Scanning started.
    [Discover] Scanning stopped.
    

    A restart "sudo systemctl restart EspruinoHub.service" gets it running normally though.

    I have looked at the logs and tried some config changes but I have found no fix yet.

    :-P

  • in Interfacing
    Avatar for PuckU

    I am a newbie who got EspruinoHub working a while ago but broke it with updates.
    I have been trying to get it working with the latest releases with too many problems to mention.
    In my use of Raspberry Pi Imager I noticed today that there are new OS options and after Googling I found...
    https://www.raspberrypi.com/news/new-old­-functionality-with-raspberry-pi-os-lega­cy/

    “New” old functionality with Raspberry Pi OS (Legacy) 2nd Dec 2021
    Gordon Hollingworth

    I am prepping my SD card now.

    Questions:
    What hardware is best? Zero, Pi3B+, Pi4?
    Should I even try?

    Thanks from a first time poster,

    P

Actions