piBeacon: presence monitoring plugin discussions

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

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

Glenn,

just published version7.123.423 that show show INPUT in status instead of INPUT_X.
Also device edit save needed some fixing.

==> you need to edit and save the devices

Karl
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: piBeacon: presence monitoring plugin discussions

Post by GlennNZ »

Thanks Karl
Installed - edit/save - status updating correctly..
:D :D D

1.
Thanks for the POE tip - great ideal as have a number of POE-micro-usb converters and plenty of Cat Cable.
Will get on and do now, despite the rain

2.
Mainly use the ADS1x15 sensors via
https://store.ncd.io/product/ads1115-16 ... ni-module/
Image
More expensive, but plug and play with sensors from ali-express like this

Image
https://www.aliexpress.com/item/3274949 ... 4c4d6XjVjX

Dropped to bottom of tank, calibrate reading and get live tank level updates to resolution of about 0.2 cm
So far the main water tank one has been running well for a few years, added another one recently to a 2nd tank.
(well actually to septic, tank to check level and alarm if over level...._

Thanks again

Glenn
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

piBeacon: presence monitoring plugin discussions

Post by GlennNZ »

All good - user error!

Thanks again

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

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

just in case you missed that.. with the demise of wireless RFXcom pool temperature devices, here the first real alternative I found:

iBS03TP is a water tight temp sensor that has also an external temp sensor,
You could either place it outside the pool and let the probe hang into the pool, or put the device onto a pice of wood or anything that swims and let the external sensor hanging into the water.

It is a bluetooth sensor. It broadcasts updates every 30 secs. Similar to the ruuvitag sensor.

Fully supported by piBeacon. Temperature = temp in the sensor, ambient -= temp in the probe, battery level is calculated from the battery Voltage (0=2900mV, 100=3150mV+)
Screen Shot 2020-09-22 at 22.43.57.png
Screen Shot 2020-09-22 at 22.43.57.png (73.05 KiB) Viewed 7240 times
You can get it from https://www.beaconzone.co.uk/sensor/iBS03TP or from alibaba : https://ingics.en.alibaba.com/product/6 ... probe.html

The battery should last for several month (web sites claim 2.5Y) it is a larger CR2450


Karl
and yes our pool is at 26C = 80F w/o heater .. one of the few the advantages of living in Dallas
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

piBeacon: presence monitoring plugin discussions

Post by kw123 »

And some picture how to do a floating pool temperature sensor with the iBS03TP w 2 Styrofoam plates glued together. The top part has the sensor cut out, the probe cable runs through the bottom part. As it is 2 meter long it is curled up so the at the señor is ~ 20cm under water..
Screen Shot 2020-09-23 at 09.42.50.png
Screen Shot 2020-09-23 at 09.42.50.png (120.46 KiB) Viewed 7211 times
Screen Shot 2020-09-23 at 09.42.43.png
Screen Shot 2020-09-23 at 09.42.43.png (220.31 KiB) Viewed 7211 times
Screen Shot 2020-09-23 at 09.42.32.png
Screen Shot 2020-09-23 at 09.42.32.png (177.92 KiB) Viewed 7211 times
And you should dip the metal end of the probe into "liquid tape" to make it not touch the chlorinated water directly
And the device as a whole is IP67: "it has been tested to work for at least 30 minutes while under 15cm to 1m of water. "
Karl
ps and you can set the sensor indicator to green/grey/red depending on temperature. set it in device edit( and when ever indigo offers more colors like blue for cold it will be added too)
User avatar
GlennNZ
Posts: 1873
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: piBeacon: presence monitoring plugin discussions

Post by GlennNZ »

kw123 wrote:just in case you missed that.. with the demise of wireless RFXcom pool temperature devices, here the first real alternative I found:

iBS03TP is a water tight temp sensor that has also an external temp sensor,
You could either place it outside the pool and let the probe hang into the pool, or put the device onto a pice of wood or anything that swims and let the external sensor hanging into the water.

It is a bluetooth sensor. It broadcasts updates every 30 secs. Similar to the ruuvitag sensor.

Fully supported by piBeacon. Temperature = temp in the sensor, ambient -= temp in the probe, battery level is calculated from the battery Voltage (0=2900mV, 100=3150mV+)
Screen Shot 2020-09-22 at 22.43.57.png
You can get it from https://www.beaconzone.co.uk/sensor/iBS03TP or from alibaba : https://ingics.en.alibaba.com/product/6 ... probe.html

The battery should last for several month (web sites claim 2.5Y) it is a larger CR2450


Karl
and yes our pool is at 26C = 80F w/o heater .. one of the few the advantages of living in Dallas
Hi Karl

That actually looks really handie - always keen to find backup for pool temp monitoring. I have a deck surrounding one side of pool, including where leaf bucket is - so really easy to hide under deck and drop lead in.

Current using a rpi and a tmp102 sensor - I wired it, and then encased the whole sensor thing in epoxy resin. The clear stuff, part a, part B. That sits in leaf bucket running to rpi. So far now I think 2 years later still going strong. Tempted to upgrade to mcp9808 sensor (I think that is the right one) to get slightly better resolution..

Prior had a number of Pre-bought ‘waterproof’ sensors - they all failed after 6 months or so. Waterproof and constantly submerged in salt/chlorine probably quite different. But the epoxy sensor - so far so good!

Now to see if can find your one on AliExpress.... should be there if on alibaba...

Glenn


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

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

3 years of beacon etc testing
Attachments
Screen Shot 2020-10-06 at 10.57.40.png
Screen Shot 2020-10-06 at 10.57.40.png (495.75 KiB) Viewed 7117 times
Screen Shot 2020-10-06 at 10.57.59.png
Screen Shot 2020-10-06 at 10.57.59.png (355.22 KiB) Viewed 7117 times
yassi
Posts: 498
Joined: Sun Sep 06, 2015 7:14 am
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Post by yassi »

Hi Karl,

i have this error message in the log, can you please tell me where it comes from?
Where do I have to configure and what?

Code: Select all

Loading plugin "piBeacon 7.128.460"
   Starting plugin "piBeacon 7.128.460" (pid 68378)
   piBeacon                        initializing	 ... 
   piBeacon                        path To files:          =================
   piBeacon                        indigo                  /Library/Application Support/Perceptive Automation/
   piBeacon                        installFolder           /Library/Application Support/Perceptive Automation/Indigo 7.4/
   piBeacon                        plugin.py               /Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/
   piBeacon                        Plugin params           /Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.piBeacon/
   piBeacon Warning                !!!!INFO ONLY!!!!  logger  enabled for   WARNING       !!!!INFO ONLY!!!!
   piBeacon Error                  !!!!INFO ONLY!!!!  logger  enabled for   ERROR         !!!!INFO ONLY!!!!
   piBeacon Critical Error         !!!!INFO ONLY!!!!  logger  enabled for   CRITICAL      !!!!INFO ONLY!!!!
   piBeacon                        check                   /Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.karlwachs.piBeacon/plugin.log  <<<<    for detailed logging
   piBeacon                        Plugin short Name       piBeacon
   piBeacon                        my PID                  68378
   piBeacon                        set params for indigo V 7.4
   Started plugin "piBeacon 7.128.460"
   piBeacon                        myLogSet setting parameters -- logFileActive= standard; logFile= ;  debug plugin:[]   RPI#:-1
   piBeacon                        testing if variable enableTimeTracking_piBeacon is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
   piBeacon                         --V 7.128.460   initializing  -- 
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon                         ..  initialized, starting loop 
   Indigo Cocoa client disconnected

10.10.2020, 21:47:16
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
   piBeacon Error                  Line 10431 has error=global name 'pIU' is not defined
Second, I'm trying to reset the CO2 sensor, it's hanging in "HIGH".
I've tried to do one of the "manage sensor devices", but it's still on "HIGH".
How can I bring to back to "LOW"?

Thanks!
Attachments
Bildschirmfoto 2020-10-10 um 21.53.23.png
Bildschirmfoto 2020-10-10 um 21.53.23.png (34.62 KiB) Viewed 7076 times
Bildschirmfoto 2020-10-10 um 21.51.21.png
Bildschirmfoto 2020-10-10 um 21.51.21.png (55.4 KiB) Viewed 7076 times
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

1. it should be piU, will post a fix later today


2. GPIO high .. I just tried mine, that works, could you post the device edit screen.. remember you need to first set each section, then confirm ... before you go to the next


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

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

Line 10431 has error=global name 'pIU' is not defined
should be fixed in v ..461


Karl
yassi
Posts: 498
Joined: Sun Sep 06, 2015 7:14 am
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Post by yassi »

kw123 wrote:Line 10431 has error=global name 'pIU' is not defined
should be fixed in v ..461


Karl
Thanks Karl,

See screenshot of the "edit settings" of the sensor.
I have to say, that the sensor worked, one day with an update (can't remember when), the device was set to HIGH (the CO2 level wasn't critical) and since then it is staying on HIGH.
Can't reset it.

Yassi
Attachments
Bildschirmfoto 2020-10-11 um 09.33.21.png
Bildschirmfoto 2020-10-11 um 09.33.21.png (84.93 KiB) Viewed 7074 times
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

You need to click on confirm then the next part is visible. There you set high low


Sent from my iPhone using Tapatalk
yassi
Posts: 498
Joined: Sun Sep 06, 2015 7:14 am
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Post by yassi »

kw123 wrote:You need to click on confirm then the next part is visible. There you set high low


Sent from my iPhone using Tapatalk
Confirmed.
Now, in which field(s)?
Attachments
Bildschirmfoto 2020-10-11 um 15.47.24.png
Bildschirmfoto 2020-10-11 um 15.47.24.png (178.92 KiB) Viewed 7036 times
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: piBeacon: presence monitoring plugin discussions

Post by kw123 »

Pull up resistor or down or off

Is high low off


Sent from my iPhone using Tapatalk
yassi
Posts: 498
Joined: Sun Sep 06, 2015 7:14 am
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Post by yassi »

kw123 wrote:Pull up resistor or down or off

Is high low off


Sent from my iPhone using Tapatalk
Nothing happens. Clicked on "Confirm"

The state is also old. Since then it stays on HIGH.
Attachments
Bildschirmfoto 2020-10-11 um 16.06.00.png
Bildschirmfoto 2020-10-11 um 16.06.00.png (19.01 KiB) Viewed 7025 times
Bildschirmfoto 2020-10-11 um 16.04.24.png
Bildschirmfoto 2020-10-11 um 16.04.24.png (72.57 KiB) Viewed 7027 times
Post Reply

Return to “piBeacon”