piBeacon: presence monitoring plugin discussions

Posted on
Sun Oct 20, 2019 9:20 am
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: presence monitoring plugin discussions

GlennNZ: could you try this version:
https://www.dropbox.com/s/a7s6bc3rd6lc7id/piBeacon.indigoPlugin.zip?dl=1

It should have the gpioinput and the beacon error fixed..

Karl

Posted on
Wed Oct 23, 2019 4:41 am
siclark online
Posts: 989
Joined: Jun 13, 2017
Location: UK

Re: piBeacon: presence monitoring plugin discussions

Hi Karl.

I just lost the ability to edit rPi devices with the latest version from the plugin store. Downgrading to 313 and I could edit again.

This is the error message I got.

Error (client) runDialogForDevice() caught exception: PAXDialogControllerError -- Field ID sleepAfterBootLabel was already used. Every <Field> element must have a unique field ID.


Simon

Posted on
Wed Oct 23, 2019 5:01 am
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

piBeacon: presence monitoring plugin discussions

I know. If have a fix ready but need to get it to github

Normally I do teamviewer session to my mac at home and then do the github stuff. But this time I switched off my mouse and it appears that now the mouse is not usable when dialing in remotely.


Sent from my iPhone using Tapatalk

Posted on
Wed Nov 13, 2019 10:41 pm
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: presence monitoring plugin discussions

got a RDlidar sensor. Those are laser distance sensors that spin around and give a 2 d view of distance of objects (and walls) to the sensor.

The seems to be promising: it can measure when i walk to or from or sideways of it, sees me waving my hand . .. sees direction

Positioning this in the middle of the room (that will be a problem) would allow a nice view of the complete room = measure any movement .. but limited to one height.

The key measurement is: if for n contigous angles the sum(distance_values) > x or < -x . ==> then there is movement
This can be done for current value vs last value or current value vs empty room value. Thats shows permanent changes, not movement

These are better than the PIR / ultrasound / microwave sensor as they show more details and direction.

will try to add this to piBeacon.

Goal is to combine several sensor type to determine presence


anyway... wanted to share my excitement

Karl

Posted on
Thu Nov 14, 2019 10:44 pm
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: presence monitoring plugin discussions

here the first plot with the RD-lidar sensor.
Indicated is the area with movement = hand waving .. and a clear trigger is generated on the RPI with the previously mentioned approach
the green is the "empty room" = calibration , the red is the snapshot at time of movement

some of the red dots do not show as they are below the green dots

Karl

ps the room really looks like this, lots of stuff in there -- my lab
and the sensor is with one side to the wall = no signal
and it does not get signals back on some surfaces
Attachments
Screen Shot 2019-11-14 at 22.37.10.png
Screen Shot 2019-11-14 at 22.37.10.png (75.17 KiB) Viewed 281 times

Posted on
Sun Nov 17, 2019 12:37 am
mundmc offline
User avatar
Posts: 598
Joined: Sep 14, 2012

Re: piBeacon: presence monitoring plugin discussions

This is awesome Karl! Following

Posted on
Sun Nov 17, 2019 8:59 am
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: presence monitoring plugin discussions

It’s almost ready ...

Fine tuning the image options

And calibration action

And No soldering needed

Karl.



Sent from my iPhone using Tapatalk

Posted on
Sun Nov 24, 2019 10:46 am
yassi offline
Posts: 375
Joined: Sep 06, 2015
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Karl,

after installing the newest plugin version (7.114.322) I have all the time the message(s) below in the log:

24.11.2019, 17:42:02
piBeacon Warning TCPIP socket error rate high for 192.168.100.112/unknown ; previous:2019-11-24 17:42:02
pi TCPIP socket IP name type first last #MSGs #bytes bytes/MSG maxBytes bytes/min MSGs/min
192.168.100.112 none timeout 2019-07-20 15:10:55 2019-11-21 22:24:40 5 0 0 0 0.0 0.00
192.168.100.112 pi_IN_0 ok 2019-01-06 15:02:24 2019-11-24 16:31:37 277417 57316051 206 537 123.2 0.60
192.168.100.112 pi_IN_Alive ok 2019-01-06 15:03:49 2019-11-24 16:30:22 64326 24548378 381 493 52.8 0.14
192.168.100.112 unknown errIP


What to do?

Yassi

Posted on
Sun Nov 24, 2019 1:50 pm
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: presence monitoring plugin discussions

Did the Ip number of your rpi change?
Do you have WiFi and Ethernet on the rpi?

[EDIT]
after looking at the code:
This is a warning that an RPI -ip number is unknown.
This is a filter to reject any messages from unregistered IP#'s (= not registered in the plugin as an RPI in RPI setup)


Karl
Sent from my iPhone using Tapatalk

Posted on
Mon Nov 25, 2019 12:13 am
yassi offline
Posts: 375
Joined: Sep 06, 2015
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

No, the IP didn‘t changed, same as before.
The Pi is connected via WiFi.
I will try to reboot the Pi.


Sent from my iPhone using Tapatalk

Posted on
Mon Nov 25, 2019 10:29 am
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: presence monitoring plugin discussions

Check:
In terminal ping rpi
In indigo menu initial setup of rpi



Sent from my iPhone using Tapatalk

Posted on
Mon Nov 25, 2019 1:59 pm
yassi offline
Posts: 375
Joined: Sep 06, 2015
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Karl,
ok.

1. Pi was reachable on the network.
2. But, to be sure, rebooted the Pi.
3. Initial Setup done &/saved (but didn't sent any config again to the Pi).

Seems so, that the errors disappeared, I will keep an eye on it.

Thanks,
yassi

Posted on
Mon Nov 25, 2019 2:47 pm
kw123 offline
User avatar
Posts: 6650
Joined: May 12, 2013
Location: Dallas, TX

piBeacon: presence monitoring plugin discussions

The only away that warning shows up is when the registered ip# in the plugin is not the same as the one received from the rpi

I had it that an rpi had 2 ip# and was reachable on the registered but was sending on the other. ..

That might be an dhcp problem.


Karl.


Sent from my iPhone using Tapatalk

Posted on
Tue Nov 26, 2019 12:15 am
yassi offline
Posts: 375
Joined: Sep 06, 2015
Location: Germany

Re: piBeacon: presence monitoring plugin discussions

Ok.

In my case, there is only one rPi and it’s only connected via WiFi.

But, no errors since yesterday, so it should be fine now.

Yassi


Sent from my iPhone using Tapatalk

Who is online

Users browsing this forum: No registered users and 1 guest