piBeacon: 3- presence monitoring download

User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

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
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

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

1. performance improvements when using 2 bluetooth channels on RPI
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

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

1. tuned switchbot and hci bluetooth channel management (timing etc) on RPIs
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

piBeacon: 3- presence monitoring download

Post by kw123 »

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
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

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
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Added features / changes in v7.138.547@ 2022-02-20
===================================================

1. added sensirion scd30 CO2, temp, humidity sensor ( runs in python 3 on RPI)
This should be one of the best CO2 sensors on the market

2. prep work for port to python 3

Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Added features / changes in v7.138.550@ 2022-02-21
===================================================

1. added calibration options for sensirion scd30 CO2 sensor
2. fixed switchbot program on RPI
3. fixed output-gpio high / low for inverse/ not inverse config (hopefully fixed now!)


Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Added features / changes in v7.138.558@ 2022-03-01
===================================================

1. The dev states for BLEconnect, beacon, and RPi dev types now only have Pi_xx_signal _Distance _Time for those RPi-xx that are configured
that shoud reduce the number of empty states. Eg if you have 3 RPi from 20*3=60 states to 3*3=9 for device types BLEconnect, beacon, and RPi (all those with Pi_00_Signal ... Pi_19_Signal. etc)
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Added features / changes in v7.141.1@ 2022-03-02
===================================================

1. prep for indigo 2022 and os 12.3
2. added support for CO2 sensor sensirion scd30

Can run under MAC OS 12.3.. AFTER indigo 2022 is released

!!! do not upgrade to MAC OS12.3 (Monterey) yet !!!,

But this release should work fine with indigo 2021 and 2022 and older versions

I would appreciate if someone could test this with the current indigo releases ie 2021 and older.
It was tested under indigo 2022 Mac OS 12.3 and Indigo 2021 and MAC OS 12.2, but naturally not all functions.

The older versions of this plugin (< 7.141.1 will NOT run under MAC OS 12.3 (even with indigo 2022 )

Karl
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: piBeacon: 3- presence monitoring download

Post by jay (support) »

NOTE: Indigo 2022.1 has solved the compatibility issue with macOS Monterey 12.3+.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
johnpolasek
Posts: 918
Joined: Fri Aug 05, 2011 2:01 pm
Location: Aggieland, Texas

Re: piBeacon: 3- presence monitoring download

Post by johnpolasek »

FYI just upgraded to Indigo 2022.1, and while PiBeacon 139. 533 works (yellow), 141.1 reports:
piBeacon Error --------------------------------------------------------------------------------------------------------------
piBeacon Error Line 1470 has error=invalid literal for int() with base 10: ''
piBeacon Error Error in startup of plugin, waiting for 2000 secs then restarting plugin
piBeacon Error --------------------------------------------------------------------------------------------------------------
running 10.14.6 (18G8022). Mojave. Unless I need to reboot after installing Indigo, since it added new versions of python?
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

I am out of town until Tuesday evening. Will check then.
Karl


Sent from my iPhone using Tapatalk
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Added features / changes in v2022.143.1@ 2022-06-26
===================================================

1. runs under python 3
requires indigo 2022.1 or later

Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Code: Select all

Added features / changes in v2022.146.3@ 2022-07-16
===================================================
   
1. for BLE beacon- sensor devices like ruuvitag, goovee (beacons + temp+humidity+ pressure + acceleration +... types). The sensor part  needed to be created manually. 
  Now the plugin auto creates them at the same time when  the beacon type gets created

2. fixed batterylevel for beacons that are also sensor type devices (eg govee, ruuvi,..)

3. added variables for number of sensor devices online/offline  (away / home) xx_SENSORS_nAway and _nHome

4. added option in config for individual sensor devices be part of a group1..4  for home/away

added #3 and #4 enables to see quickly how many sensor devices that are (not) online and total number of sensors
Karl
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: 3- presence monitoring download

Post by kw123 »

Added features / changes in v2022.146.6@ 2022-07-25
===================================================

1. streamlined and improved autocreate of BLE sensors type device (temp, humidity, pressure, motion, Formaldehyde ) (eg ruuvitag, govee)
2. added check for properties if not set in device edit


Karl
Post Reply

Return to “piBeacon”