How to check presence of Beacon ?
Moderators: leecollings, remb0
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
I just got my NUT's, went back to this topic and I'm so lost. Is there already a wiki available? Im really excited about this project and cant wait to execute.
-
- Posts: 192
- Joined: Monday 12 January 2015 23:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: FRANCE
- Contact:
Re: How to check presence of Beacon ?
Hi,
The wiki will be there :
http://www.domoticz.com/wiki/Presence_d ... _Beacon%29
Need some hours to write it ...
The wiki will be there :
http://www.domoticz.com/wiki/Presence_d ... _Beacon%29
Need some hours to write it ...
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
jmleglise wrote:Hi,
The wiki will be there :
http://www.domoticz.com/wiki/Presence_d ... _Beacon%29
Need some hours to write it ...
Great! Can I help in any way?
-
- Posts: 192
- Joined: Monday 12 January 2015 23:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: FRANCE
- Contact:
Re: How to check presence of Beacon ?
Yes !
I'm on it. When, I will finish , You may try and report/correct all the mistakes in the wiki.
Edit :
An idea, if you really want to contribute, you could make screen shot of all the phase of your installation. This will help a lot. And if something goes wrong , I may help you in return.
I'm on it. When, I will finish , You may try and report/correct all the mistakes in the wiki.
Edit :
An idea, if you really want to contribute, you could make screen shot of all the phase of your installation. This will help a lot. And if something goes wrong , I may help you in return.
Last edited by jmleglise on Friday 20 May 2016 23:31, edited 1 time in total.
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
-
- Posts: 192
- Joined: Monday 12 January 2015 23:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: FRANCE
- Contact:
Re: How to check presence of Beacon ?
All,
Could you publish here a link to the beacon you've bought ? This will help the next buyers.
Could you publish here a link to the beacon you've bought ? This will help the next buyers.
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
-
- Posts: 157
- Joined: Thursday 27 August 2015 18:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.6028
- Location: Greece
- Contact:
Re: How to check presence of Beacon ?
here is the tested and working NUT2 that broadcast ble beacons even they are not paired:
http://www.banggood.com/Mini-Smart-Patc ... 88462.html
The following stop transmit ble beacons after a while. still can be used as PANIC BUTTONS:
http://www.banggood.com/Bluetooth-4_0-S ... 74320.html
http://www.banggood.com/Wifi-Smart-Blue ... 28944.html
I have ordered another type which it suppose to be programmed and wait to be delived so to perform validation:
http://www.aliexpress.com/snapshot/7667 ... 7725846383
Also there TI SensorTag which is more than a simple tag as it incudes 9 sensors. It goes on deep sleep if no connection performed in 2 minutes so it not recommended.
Recently, I find out a review page for ble beacons and you can also purchase.
https://www.beaconzone.co.uk/allbeacons
http://www.banggood.com/Mini-Smart-Patc ... 88462.html
The following stop transmit ble beacons after a while. still can be used as PANIC BUTTONS:
http://www.banggood.com/Bluetooth-4_0-S ... 74320.html
http://www.banggood.com/Wifi-Smart-Blue ... 28944.html
I have ordered another type which it suppose to be programmed and wait to be delived so to perform validation:
http://www.aliexpress.com/snapshot/7667 ... 7725846383
Also there TI SensorTag which is more than a simple tag as it incudes 9 sensors. It goes on deep sleep if no connection performed in 2 minutes so it not recommended.
Recently, I find out a review page for ble beacons and you can also purchase.
https://www.beaconzone.co.uk/allbeacons
>>>> Google Home <<<<<
SBC: Odroid XU4 * Raspberry Pi2 * banana Pi v1
Peripherals: rfxtrx433E, aeon z-stick gen5, bluetooth dongles
Extended Software packages: Xeoma (video NVR), FHEM (extra home automation software)
SBC: Odroid XU4 * Raspberry Pi2 * banana Pi v1
Peripherals: rfxtrx433E, aeon z-stick gen5, bluetooth dongles
Extended Software packages: Xeoma (video NVR), FHEM (extra home automation software)
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
No problem. Just say whenjmleglise wrote:Yes !
I'm on it. When, I will finish , You may try and report/correct all the mistakes in the wiki.
Edit :
An idea, if you really want to contribute, you could make screen shot of all the phase of your installation. This will help a lot. And if something goes wrong , I may help you in return.
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: How to check presence of Beacon ?
Hi Guys,
My hardware is:-
https://www.amazon.co.uk/gp/product/B01 ... UTF8&psc=1
https://www.amazon.co.uk/gp/product/B00 ... UTF8&psc=1
This BT dongle is the smallest form I've ever seen, it's tiny! It works 1st time (I have 4 of them) but an be inserted upside down
I tried an ASUS dongle at twice the price and had to return it as it didn't play well with the RasPi.
Sean
My hardware is:-
https://www.amazon.co.uk/gp/product/B01 ... UTF8&psc=1
https://www.amazon.co.uk/gp/product/B00 ... UTF8&psc=1
This BT dongle is the smallest form I've ever seen, it's tiny! It works 1st time (I have 4 of them) but an be inserted upside down
I tried an ASUS dongle at twice the price and had to return it as it didn't play well with the RasPi.
Sean
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: How to check presence of Beacon ?
Hi, jmleglise,
Is it ok if I run through the WIKI and correct a few spelling and grammar errors?
Your English is a 1,000,000X better than my French (I live on "vin" and "fromage" when I visit )
Is it ok if I run through the WIKI and correct a few spelling and grammar errors?
Your English is a 1,000,000X better than my French (I live on "vin" and "fromage" when I visit )
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
-
- Posts: 192
- Joined: Monday 12 January 2015 23:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: FRANCE
- Contact:
Re: How to check presence of Beacon ?
Ouch ! It's upsetting
I'm kidding. Of course, please do !
I'm kidding. Of course, please do !
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
-
- Posts: 192
- Joined: Monday 12 January 2015 23:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: FRANCE
- Contact:
Re: How to check presence of Beacon ?
Now, you can. The wiki is up to date.micbou wrote:jmleglise wrote: No problem. Just say when
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de maison de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
Looks great!jmleglise wrote:Now, you can. The wiki is up to date.micbou wrote:jmleglise wrote: No problem. Just say when
I had to install requests (it was not installed on my RPI) as the check_beacon_presence.py script gave me error messages.
Code: Select all
sudo apt-get install python-pip
sudo pip install requests
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
I run into a bunch of undeleted stuff half way, but was able to fix that with
Code: Select all
apt-get install libusb-dev libdbus-1-dev libglib2.0-dev automake libudev-dev libical-dev libreadline-dev
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
I cant seem to run the gatttool. Any idea?
UPDATE: Was able to fix above with
Now running the service is giving me a 404 error. Typo somewhere?
Code: Select all
root@raspberrypi:/home/pi/bluez/bluez-5.39# sudo cp gatttool /usr/local/bin/
cp: cannot stat ‘gatttool’: No such file or directory
sudo cp attrib/gatttool /usr/bin/
Now running the service is giving me a 404 error. Typo somewhere?
Code: Select all
root@raspberrypi:/home/pi# sudo wget https://raw.githubusercontent.com/jmleglise/mylittle-domoticz/master/Presence%20detection%20%28beacon%29/check_beacon_presence/check_beacon_presence
--2016-05-21 14:03:10-- https://raw.githubusercontent.com/jmleglise/mylittle-domoticz/master/Presence%20detection%20%28beacon%29/check_beacon_presence/check_beacon_presence
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.43.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.43.133|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-05-21 14:03:10 ERROR 404: Not Found.
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
ANOTHER UPDATE:micbou wrote:I cant seem to run the gatttool. Any idea?
UPDATE: Was able to fix above withCode: Select all
root@raspberrypi:/home/pi/bluez/bluez-5.39# sudo cp gatttool /usr/local/bin/ cp: cannot stat ‘gatttool’: No such file or directory
sudo cp attrib/gatttool /usr/bin/
Now running the service is giving me a 404 error. Typo somewhere?
Code: Select all
root@raspberrypi:/home/pi# sudo wget https://raw.githubusercontent.com/jmleglise/mylittle-domoticz/master/Presence%20detection%20%28beacon%29/check_beacon_presence/check_beacon_presence --2016-05-21 14:03:10-- https://raw.githubusercontent.com/jmleglise/mylittle-domoticz/master/Presence%20detection%20%28beacon%29/check_beacon_presence/check_beacon_presence Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.43.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.43.133|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2016-05-21 14:03:10 ERROR 404: Not Found.
Found the typo and corrected the WIKI
- Westcott
- Posts: 423
- Joined: Tuesday 09 December 2014 17:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: UK - Glos
- Contact:
Re: How to check presence of Beacon ?
Make that -
sudo wget https://raw.githubusercontent.com/jmleg ... n_presence
sudo wget https://raw.githubusercontent.com/jmleg ... n_presence
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
Sorry for all the questions, but here's another error I'm getting
Code: Select all
root@raspberrypi:/home/pi# sudo /etc/init.d/check_beacon_presence start
[....] Starting check_beacon_presence (via systemctl): check_beacon_presence.serviceFailed to start check_beacon_presence.service: Unit check_beacon_presence.service failed to load: No such file or directory.
failed!
root@raspberrypi:/home/pi#
- Westcott
- Posts: 423
- Joined: Tuesday 09 December 2014 17:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: UK - Glos
- Contact:
Re: How to check presence of Beacon ?
Did you do the final -
sudo update-rc.d check_beacon_presence defaults
sudo update-rc.d check_beacon_presence defaults
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
-
- Posts: 86
- Joined: Sunday 01 May 2016 0:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: How to check presence of Beacon ?
Got it, but must admit I'm starting to feel a bit discouraged, because now that I have everything up I have no idea how to get my switches or variables set up to actually show whether or not Im HOME or AWAY. Tried copying some of the LUA scripts, but I guess I just need to do some more research to learn.
Who is online
Users browsing this forum: Google [Bot] and 0 guests