piBeacon: 3- presence monitoring download

Posted on
Sat Jul 10, 2021 4:29 pm
kw123 offline
User avatar
Posts: 7771
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

Code: Select all
Added features / changes in v7.138.533@ 2021-07-10
===================================================
   
1. added support for several switchbot devices
   - indigo sensor dev: temperature + humidity, populates states: temperature, humidity, battery,..
   - indigo sensor dev: contact, populates states: onoff, last open, short open, long open, light, button press count ..
   - indigo sensor dev: motion,  populates states: onoff, last motion,  light, ...
   - indigo dimmer dev: curtain, you can set mode : slow, fast, and  set position of the device between 0/100 = open/closed
     a curtain can be operated with an ssh command, eg through iPhone shortcut
        ssh pi@ip#
        echo '{"mac":mac#,"pos":"0...100"}' > temp/switchbot.cmd for direct position
        echo '{"mac":mac#,"pos":"open"}' > temp/switchbot.cmd for moving to open
        echo '{"mac":mac#,"pos":"close"}' > temp/switchbot.cmd for moving to close
        echo '{"mac":mac#,"pos":"pause"}' > temp/switchbot.cmd for stopping any move
        - only o/c/p are needed (not open close pause and the commands are case neutral)

   - indigo relay dev: bot, you can set modes up/down/ inverse, and send  on/ off  (down / up) commands
     a bot can be operated with an ssh command, eg through iPhone shortcut
        ssh pi@ip#
        echo '{"mac":mac#,"onOff":"1/0"}' > temp/switchbot.cmd

   They all support battery level states
   They all benefit from having "brother" devices - the beacons  device types for each one besides the sensor/ output devs in indigo.
   They expose mac number and battery level etc. They share that info with the output devices

   These devices all send and receive bluetooth messages. The RPI's will be talking bluetooth with them and send / receive commands/ status from to indigo
   For the output devices: curtain & bot you need an extra BLE dongle besides the internal bluetooth
   not supported is the humidifier, may be in winter when I need one. Now a de-humidifier would make sense


Karl

Posted on
Wed Jul 14, 2021 6:02 am
kw123 offline
User avatar
Posts: 7771
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

Added features / changes in v7.138.534@ 2021-07-10
===================================================

1. performance improvements when using 2 bluetooth channels on RPI

Posted on
Tue Aug 17, 2021 8:14 am
kw123 offline
User avatar
Posts: 7771
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

Added features / changes in v7.138.542@ 2021-08-17
===================================================

1. tuned switchbot and hci bluetooth channel management (timing etc) on RPIs

Posted on
Sun Sep 05, 2021 9:11 am
kw123 offline
User avatar
Posts: 7771
Joined: May 12, 2013
Location: Dallas, TX

piBeacon: 3- presence monitoring download

Added features / changes in v7.138.543@ 2021-09-05
===================================================

1. changed setting of local ip number determination:
was set by IP # of MAC, now ip numbers of RPi(s) is used (first 2 octet eg 192.168.x.x are used)
this is used to block incoming socket connections from non local ip numbers
set option in plugin config

Posted on
Mon Sep 06, 2021 10:27 pm
kw123 offline
User avatar
Posts: 7771
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

Added features / changes in v7.138.545@ 2021-09-06
===================================================

1. added config option to enabled / disable rpi ip # check
set to off if your RPIs are in a separate subnet. Then the router might replace the rpi ip# with its own, which is then not the registered IP number of the sending RPI.


ONLY if your RPI are not in the same subnet as your RPIs and if your router replaces the IP# of the RPI with its own when the package gets send to the mac..


Karl

ps: just for Adam

Who is online

Users browsing this forum: No registered users and 1 guest