Search found 12 matches

by QuadRotas
Monday 25 January 2021 11:19
Forum: Zigbee
Topic: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Replies: 673
Views: 104781

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Thanks for all the input, folks. I did a complete reinstall of both the Phoscon-app and the Domoticz plugin just now. The app discovered an instance on port 8090. Now I get a different response from python3 API_KEY.py <ip address>:8090 create : "Please unlock the gateway first and retry". Small ...
by QuadRotas
Monday 25 January 2021 7:13
Forum: Zigbee
Topic: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Replies: 673
Views: 104781

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

If you got this far, you have installed the deCONZ app as well. If you open that on your server and click the "Phoscon app" button in the upper right a website will open. What address do you have there? The Phoscon app is running but does not see a gateway. Probably because it gets a response from ...
by QuadRotas
Sunday 24 January 2021 21:31
Forum: Zigbee
Topic: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Replies: 673
Views: 104781

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

Good question ! I think the url or the port is not good. If you use this url in a web browser, you have other thing than phoscon ? http://127.0.0.1:80 To find the good url and port https://phoscon.de/discover Oh...good point. There's also a pi-hole installation on this Pi. That might explain the ...
by QuadRotas
Sunday 24 January 2021 18:13
Forum: Zigbee
Topic: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)
Replies: 673
Views: 104781

Re: Python Zigbee plugin, deCONZ bridge (Using Conbee or Raspbee)

After ruining my Pi 4 with working domoticz & deConz I am installing the plugin on an older 3B pi with Domoticz. When trying to create an api key I get this error: pi@raspberry:~/domoticz/plugins/Domoticz-deCONZ $ python3 API_KEY.py 127.0.0.1:80 create Traceback (most recent call last): File "API ...
by QuadRotas
Sunday 13 January 2019 11:09
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

Hello, I just want to know if my keyring is home or not, I tested this script but it doesn't work. Could you help me commandArray = {} Fredbeacon=0 for variableName, variableValue in pairs(uservariables) do if string.sub(variableName,1,3)=="Tag_White" and variableValue ~= "HOME" then commandArray ...
by QuadRotas
Saturday 29 December 2018 17:38
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

I finally got it to work, with different BLE-tags. These didn't work. But these work fine. Now the new challenge: switch stuff on and off based on presence of the BLE's. So far I've managed to create this script: commandArray = {} for variableName, variableValue in pairs(uservariables) do -- Alle ...
by QuadRotas
Sunday 16 December 2018 20:46
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

I understand all this, if I constantly scan it, will it not download RP3B ??? I am not sure what you mean with 'download'? I still have NUT 2 pcs Thank you. Variables are already changing, the script is working. There is a concern if he will score RP3b if he constantly scans Do you mean if the ...
by QuadRotas
Sunday 16 December 2018 19:36
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

And when does he stop ???? It doesn't The script continuously scans for the tag and updates Domoticz accordingly. You get this output because you run the script manually. If you end the script, nothing gets scanned. You can configure the script to be ran as a service so it runs all the time, in the ...
by QuadRotas
Sunday 16 December 2018 18:21
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

root@raspberrypi:/home/pi/scripts# sudo python /usr/local/bin/check_beacon_presence.py 2018-12-16 19:16:07,274 - root - DEBUG - Ok hci0 interface Up n running ! 2018-12-16 19:16:07,274 - root - DEBUG - Connect to bluetooth device 0 [..] c2018-12-16 19:16:09,676 - root - DEBUG - Tag Nut_Egita ...
by QuadRotas
Thursday 13 December 2018 16:57
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: RSSI instead of HOME

Hi, it was my fault, if you can read that is sometimes a benefit ;-) In REPEAT-Mode the script writes the RSSI into the user-variable if the tag is present, in SWITCH-Mode the script writes HOME into the user-variable if the tag is present. Only for the protocol. Meikel Did you get your setup to ...
by QuadRotas
Wednesday 07 November 2018 17:18
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

are you sure you're not running more than one instance? I'm more comfortable by using systemctl than rc.local I...am fairly sure I'm only running 1 instance. here was 1 previous attempt to get the script working but I didn't get past the first manual test. After that I redid all steps correctly and ...
by QuadRotas
Wednesday 07 November 2018 17:06
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 82117

Re: How to check presence of Beacon ?

After fiddling with the wiki manual I am very close to having a fully working setup. Close, but still far away... Installation and configuration went well, running the script manually does what it has to do, but running it as a service gives an error: pi@raspberrypi:/usr/local/bin $ sudo /etc/init.d ...