• More Stupid Home Automation Ideas

    From Captain Obvious@21:1/157 to All on Fri Dec 15 18:02:00 2023
    So I was playing around and wrote a couple of python scripts. Actually GPT did and I tweaked until they worked <g>. A login.py and logout.py that each send a topic to my mqtt server. If you don't know what MQTT is, climb into that huge rabbit hole of the Internet. Basically it's an extremely lightweight protocol to transmit messages between iot applications. Used for automation in a lot of industries. Was originally created at the tail end of the '90s by a couple of folks from IBM. Always felt like it could be used for chat or messaging as well.

    Anyway, when my home automation server receives a message that includes "online" then my desk lamp flashes off and on and one of the Echoes announces "someone has logged into the BBS". Sure to bring lots of WAF value lol. Not that there will be many announcements but something I was tinkering with.

    Also shows the current logged in user or who logged in last on one of my dashboards, Now to just figure out how to do this in an mpy so I can ditch the batch file running the python script... A project for another day.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    ... We're lost, yes.....but we're making good time.

    --- Mystic BBS v1.12 A49 2023/04/30 (Windows/32)
    * Origin: * Shadowscope BBS * (21:1/157)
  • From Adept@21:2/108 to Captain Obvious on Sat Dec 16 22:27:28 2023
    Anyway, when my home automation server receives a message that includes "online" then my desk lamp flashes off and on and one of the Echoes announces "someone has logged into the BBS". Sure to bring lots of WAF value lol. Not that there will be many announcements but something I was tinkering with.

    That's... a really neat idea. That I'm not sure is remotely _useful_, but I really like the concept, and it's neat that you made it happen.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Storm BBS (21:2/108)
  • From Captain Obvious@21:1/157 to Adept on Sat Dec 16 18:13:34 2023
    On 16 Dec 2023, Adept said the following...

    That's... a really neat idea. That I'm not sure is remotely _useful_,
    but I really like the concept, and it's neat that you made it happen.

    Definitely not useful at all. I can see where it would have been 30 years ago when I had a single phone line and jumped right on when someone logged on but now, just seemed like a cool thing to do.

    Couple of hours after I posted that I was over at the Synchronet wiki and see where Rob has added MQTT support a while back lol.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    ... Air pollution is a mist demeanor.

    --- Mystic BBS v1.12 A49 2023/04/30 (Windows/32)
    * Origin: * Shadowscope BBS * (21:1/157)
  • From niter3@21:1/199 to Captain Obvious on Tue Dec 19 04:53:19 2023
    So I was playing around and wrote a couple of python scripts. Actually
    GPT did and I tweaked until they worked <g>. A login.py and logout.py
    that each send a topic to my mqtt server. If you don't know what MQTT
    is, climb into that huge rabbit hole of the Internet. Basically it's an extremely lightweight protocol to transmit messages between iot applications. Used for automation in a lot of industries. Was originally created at the tail end of the '90s by a couple of folks from IBM.
    Always felt like it could be used for chat or messaging as well.

    Anyway, when my home automation server receives a message that includes "online" then my desk lamp flashes off and on and one of the Echoes announces "someone has logged into the BBS". Sure to bring lots of WAF value lol. Not that there will be many announcements but something I was tinkering with.

    I've done thing simliar using audio files when people login over Chromecast devices.

    ... Condense soup, not books!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Clutch BBS * telnet://clutchbbs.com (21:1/199)