piBeacon: presence monitoring plugin discussions
Re: piBeacon: presence monitoring plugin discussions
Set Reis it or to down
Click on confirm
Click on save
Then the notes field should change
Sent from my iPhone using Tapatalk
Click on confirm
Click on save
Then the notes field should change
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
You mean "count transition down".kw123 wrote:Set Reis it or to down
Click on confirm
Click on save
Then the notes field should change
Sent from my iPhone using Tapatalk
Done.
No it's showing LOW (0) and the status is updated.
Thanks, Karl!
- Attachments
-
- Bildschirmfoto 2020-10-11 um 16.47.57.png (45.88 KiB) Viewed 6900 times
Re: piBeacon: presence monitoring plugin discussions
Count off. That would give you
1 2 3... not 1/0
And the notes field does not change?
Sent from my iPhone using Tapatalk
1 2 3... not 1/0
And the notes field does not change?
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
Another question, Karl.
Would it be possible to us a sound detector sensor (with sound pattern recognition) with the plugin?
I know you would be able to develop this
Background: I would like to have something to recognize the ring of the bell. It's an old installation here in the house of my landlord, and at the moment not possible to replace it.
Well, it could be maybe possible to open the intercom device and maybe insert a sensor or something similar. But I don't trust these old installations.
So, I was thinking if it's somehow be possible to capture the ring bell, save it as a pattern and have it recognized --> if rings, set to HIGH or something like this.
Often I don't hear that ring bell thru the hallway and two closed doors while I'm in the kitchen.
I've searched the Internet and found this:
1. SOPARE: https://github.com/bishoph/sopare
2. https://www.youtube.com/watch?v=GcGF6b5 ... WL&index=1
3. https://clydelettsome.com/blog/2019/12/ ... n-arduino/
Yassi
Would it be possible to us a sound detector sensor (with sound pattern recognition) with the plugin?
I know you would be able to develop this
Background: I would like to have something to recognize the ring of the bell. It's an old installation here in the house of my landlord, and at the moment not possible to replace it.
Well, it could be maybe possible to open the intercom device and maybe insert a sensor or something similar. But I don't trust these old installations.
So, I was thinking if it's somehow be possible to capture the ring bell, save it as a pattern and have it recognized --> if rings, set to HIGH or something like this.
Often I don't hear that ring bell thru the hallway and two closed doors while I'm in the kitchen.
I've searched the Internet and found this:
1. SOPARE: https://github.com/bishoph/sopare
2. https://www.youtube.com/watch?v=GcGF6b5 ... WL&index=1
3. https://clydelettsome.com/blog/2019/12/ ... n-arduino/
Yassi
Re: piBeacon: presence monitoring plugin discussions
Then I have no idea what to change.kw123 wrote:Count off. That would give you
1 2 3... not 1/0
And the notes field does not change?
Sent from my iPhone using Tapatalk
I change it to this like in the screenshot.
Now it shows "OFF".
Let's see if it will stay so.
- Attachments
-
- Bildschirmfoto 2020-10-11 um 17.15.55.png (18.15 KiB) Viewed 6885 times
-
- Bildschirmfoto 2020-10-11 um 17.15.47.png (36.53 KiB) Viewed 6885 times
Re: piBeacon: presence monitoring plugin discussions
I tried those. 50 error rate for simple things like on off
But the new google external ai device could be used.
I got one, but have not installed it.
Sent from my iPhone using Tapatalk
But the new google external ai device could be used.
I got one, but have not installed it.
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
Oh, ok.kw123 wrote:I tried those. 50 error rate for simple things like on off
But the new google external ai device could be used.
I got one, but have not installed it.
Sent from my iPhone using Tapatalk
Which Google device do you mean?
Gesendet von iPhone mit Tapatalk
Re: piBeacon: presence monitoring plugin discussions
Coral usb accelerator
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
Ok, I‘ve heard once about it.kw123 wrote:Coral usb accelerator
Sent from my iPhone using Tapatalk
Thanks.
Gesendet von iPhone mit Tapatalk
Re: piBeacon: presence monitoring plugin discussions
https://www.beaconzone.co.uk/allbeacons/iBS02M2
for a switch input you can try above BLE-beacon.
It sends a BLE advertising message when contact opens/ closes, runs on 2 CR2032 batteries. It can be up to 30 m away from the RPI (in a building w sheet rock (wood) walls, outside .. 100 m, not tested).
Better than WiFi sensors (ie shelly) as those just "eat" batteries. This one should last several years. Also the Wifi switches need to walke up contact the router, get an IP# and then send, that can take several seconds. This one is < 0.4 secs from switch change to the indigo device state change.
They have different versions of this one ( touch, magnetic, IR ..) the inside is the same besides the actual on/off sensor (mechanical, magnetic, IR short distance long range IR ..)
They are really ugly but work very well.
Also for magnetic - door window sensor try: url]https://www.beaconzone.co.uk/sensor/IM21[/url]
simple on/off, also very fast, and small and looks nice.
Similar for water leak: https://www.beaconzone.co.uk/sensor/EW70
I use now the 4 button remote https://www.beaconzone.co.uk/sensor/RC10 for my alley way sliding door and garage door: alley way door (3 buttons) open/close/stop --> 3 relays on RPi and garage door (one button) open/stop/close --> one Insteon switch connected to the garage door motor.
This are all very solid beacons that run on CRxxx battery cells, wake up for a message send the message and go back to sleep, very fast and long battery life
Karl
for a switch input you can try above BLE-beacon.
It sends a BLE advertising message when contact opens/ closes, runs on 2 CR2032 batteries. It can be up to 30 m away from the RPI (in a building w sheet rock (wood) walls, outside .. 100 m, not tested).
Better than WiFi sensors (ie shelly) as those just "eat" batteries. This one should last several years. Also the Wifi switches need to walke up contact the router, get an IP# and then send, that can take several seconds. This one is < 0.4 secs from switch change to the indigo device state change.
They have different versions of this one ( touch, magnetic, IR ..) the inside is the same besides the actual on/off sensor (mechanical, magnetic, IR short distance long range IR ..)
They are really ugly but work very well.
Also for magnetic - door window sensor try: url]https://www.beaconzone.co.uk/sensor/IM21[/url]
simple on/off, also very fast, and small and looks nice.
Similar for water leak: https://www.beaconzone.co.uk/sensor/EW70
I use now the 4 button remote https://www.beaconzone.co.uk/sensor/RC10 for my alley way sliding door and garage door: alley way door (3 buttons) open/close/stop --> 3 relays on RPi and garage door (one button) open/stop/close --> one Insteon switch connected to the garage door motor.
This are all very solid beacons that run on CRxxx battery cells, wake up for a message send the message and go back to sleep, very fast and long battery life
Karl
Re: piBeacon: presence monitoring plugin discussions
Ok, thanks, Karl, I will have a look.kw123 wrote:https://www.beaconzone.co.uk/allbeacons/iBS02M2
for a switch input you can try above BLE-beacon.
It sends a BLE advertising message when contact opens/ closes, runs on 2 CR2032 batteries. It can be up to 30 m away from the RPI (in a building w sheet rock (wood) walls, outside .. 100 m, not tested).
Better than WiFi sensors (ie shelly) as those just "eat" batteries. This one should last several years. Also the Wifi switches need to walke up contact the router, get an IP# and then send, that can take several seconds. This one is < 0.4 secs from switch change to the indigo device state change.
They have different versions of this one ( touch, magnetic, IR ..) the inside is the same besides the actual on/off sensor (mechanical, magnetic, IR short distance long range IR ..)
They are really ugly but work very well.
Also for magnetic - door window sensor try: url]https://www.beaconzone.co.uk/sensor/IM21[/url]
simple on/off, also very fast, and small and looks nice.
Similar for water leak: https://www.beaconzone.co.uk/sensor/EW70
I use now the 4 button remote https://www.beaconzone.co.uk/sensor/RC10 for my alley way sliding door and garage door: alley way door (3 buttons) open/close/stop --> 3 relays on RPi and garage door (one button) open/stop/close --> one Insteon switch connected to the garage door motor.
This are all very solid beacons that run on CRxxx battery cells, wake up for a message send the message and go back to sleep, very fast and long battery life
Karl
Yassi
Re: piBeacon: presence monitoring plugin discussions
Hi Karl
I've had to use - predictable names for rpi networking.
Issue was wlan0 and wlan1 would constantly swap loosing connection and also having an new DHCP ip address appear and a number of log messages regarding. (wlan0 not strong enough)
This gives me a lovely ifconfig:
&
Like that
The ETH is only for testing/setup, with WIFI being the only persistent connection.
I have appropriately name wpa_supplicant-wlan0 and wpa_supplicant-wlx803f5d147f78 files which work fine.
Issue is pibeacon can't find the IP address as no wlan0... or eth0; not surprisingly.
Can I set this manually somewhere?
(I did seem to recall a ipaddress file; but can no longer see it on the rpi)
Edit:
I have come to conclusion that I may be asking a bit much....
Have returned to usual names wlan0/wlan1 and will have to try to figure out how to set one to another.
(?udev rules - but did find these weren't that stable..)
Thanks
I've had to use - predictable names for rpi networking.
Issue was wlan0 and wlan1 would constantly swap loosing connection and also having an new DHCP ip address appear and a number of log messages regarding. (wlan0 not strong enough)
This gives me a lovely ifconfig:
Code: Select all
enxb827eb427d52: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.173 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::90bd:5cb9:8983:7022 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:42:7d:52 txqueuelen 1000 (Ethernet)
RX packets 427 bytes 119209 (116.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 84 bytes 13732 (13.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4 bytes 240 (240.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 240 (240.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:17:28:07 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlx803f5d147f78: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2312
inet 192.168.1.183 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::916f:58fd:5c85:ce21 prefixlen 64 scopeid 0x20<link>
ether 80:3f:5d:14:7f:78 txqueuelen 1000 (Ethernet)
RX packets 459 bytes 164546 (160.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 4476 (4.3 KiB)
TX errors 0 dropped 3 overruns 0 carrier 0 collisions 0Code: Select all
pi@raspberrypi4:~ $ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default HawkenPfsense.h 0.0.0.0 UG 304 0 0 wlx803f5d147f78
192.168.1.0 0.0.0.0 255.255.255.0 U 304 0 0 wlx803f5d147f78
Like that
The ETH is only for testing/setup, with WIFI being the only persistent connection.
I have appropriately name wpa_supplicant-wlan0 and wpa_supplicant-wlx803f5d147f78 files which work fine.
Issue is pibeacon can't find the IP address as no wlan0... or eth0; not surprisingly.
Can I set this manually somewhere?
(I did seem to recall a ipaddress file; but can no longer see it on the rpi)
Edit:
I have come to conclusion that I may be asking a bit much....
Have returned to usual names wlan0/wlan1 and will have to try to figure out how to set one to another.
(?udev rules - but did find these weren't that stable..)
Thanks
Re: piBeacon: presence monitoring plugin discussions
I tried to automate as much as possible eg et the ip number. Naturally there is a limit to what options can be covered
I could add an option in the plugin to ignore all the "get IP number stuff" and set it to a fixed #.
If that would help you I can do that in the next days.
Karl
I could add an option in the plugin to ignore all the "get IP number stuff" and set it to a fixed #.
If that would help you I can do that in the next days.
Karl
Re: piBeacon: presence monitoring plugin discussions
Thanks Karl,kw123 wrote:I tried to automate as much as possible eg et the ip number. Naturally there is a limit to what options can be covered
I could add an option in the plugin to ignore all the "get IP number stuff" and set it to a fixed #.
If that would help you I can do that in the next days.
Karl
If it’s easy/not to much trouble, others and myself may have a need for it down the track., if not now. I suspect it may be useful for those with 2 wifi adapters, or as above, when need predicatable network names enabled.
But certainly not a priority, or rush. I’m continuing trying to sort out wlan0 and wlan1 swapping after boot.
Thanks
Sent from my iPad using Tapatalk
Re: piBeacon: presence monitoring plugin discussions
I think I am done, still doing some testing
Karl
ignoring things is easier than adding things
Karl
ignoring things is easier than adding things