Search found 11 matches

by rbosch
Saturday 16 January 2021 15:52
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 14164

Re: Python plugin: Ubiquiti Unifi Presence

For UDM the port number is 443. And you need to make a local account on your UDM for use of the plugin.
Btw - there is still an error in the current version. After some time (on my UDM almost 2 hours) the login failed. No fix yet.
by rbosch
Thursday 14 January 2021 11:23
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 14164

Re: Python plugin: Ubiquiti Unifi Presence

There was a bug - due to differences between UDM and regular Controller.
@wizzard72 made some updates and it was successfully tested on my UDM.
So if you update the plug-in (git pull and restart Domoticz) it should work.
by rbosch
Monday 11 January 2021 12:14
Forum: Python
Topic: Python Plugin: TUYA
Replies: 507
Views: 104550

Re: Python Plugin: TUYA

A few days later and it spontaneously started working. Probably an issue with too many authentication requests in a short timeframe.
Very happy with this plug-in!
by rbosch
Monday 11 January 2021 9:42
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 14164

Re: Python plugin: Ubiquiti Unifi Presence

@rbosch, can you login into your dreammachine and then change the url into this: https://dreammachineIP:Port:/api/s/default/stat/device Initially I was a bit puzzled as these URLs only brought me to the login screen of the Dreammachine. Then I realized the UDM requires the /proxy/network to be ...
by rbosch
Monday 11 January 2021 0:15
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 14164

Re: Python plugin: Ubiquiti Unifi Presence

Thx for the update for the dream machine. I have done a fresh git pull, and selected the Dream machine option. But still getting errors: 2021-01-11 00:10:06.423 Error: (Unifi Presence) 'onStart' failed 'JSONDecodeError'. 2021-01-11 00:10:06.424 Error: (Unifi Presence) ----> Line 872 in '/home/pi ...
by rbosch
Wednesday 06 January 2021 23:03
Forum: Python
Topic: Python Plugin: TUYA
Replies: 507
Views: 104550

Re: Python Plugin: TUYA

I have bought some Tuya Wifi based light bulbs. Added the plugin to Domoticz, but keep getting login errors. 2021-01-06 22:59:30.658 Error: (Tuya) handleThread: Get accesstoken failed. Username or password error! line 194 Also ran the debug_discovery script - using exactly the same credentials - and ...
by rbosch
Tuesday 08 December 2020 20:53
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 14164

Re: Python plugin: Ubiquiti Unifi Presence

I don't have Dream Machine Pro, so maybe the API output is a little different. Can you post the output of the following url: https://dreammachineIPAddres:8443/api/s/{}/stat/health The Dreammachine Pro needs to be addressed at port 443. Doing this from the browser result in receiving the welcome ...
by rbosch
Tuesday 08 December 2020 0:03
Forum: Python
Topic: Python plugin: Ubiquiti Unifi Presence
Replies: 71
Views: 14164

Re: Python plugin: Ubiquiti Unifi Presence

I have installed the plugin. Trying to use it with a Dream Machine Pro. Something goes wrong as I get these errors: 2020-12-07 23:52:04.897 Error: (Unifi Presence) ----> Line 897 in '/usr/lib/python3/dist-packages/requests/models.py', function json 2020-12-07 23:52:04.898 Error: (Unifi Presence ...
by rbosch
Sunday 06 December 2020 21:03
Forum: Bash / PowerShell / Batch etc.
Topic: Presence detection using UniFi Controller (Ubiquiti Networks)
Replies: 49
Views: 30154

Re: Presence detection using UniFi Controller (Ubiquiti Networks)

I have been using the script succesfully for years. Switched to a Dreammachine today and cannot get it to work. I added a local user with limited admin rights to the Dreammachine and changed the IP address of the script to point to the device. Tried it with port 443 and without port. But no result ...
by rbosch
Monday 18 December 2017 19:39
Forum: Other questions and discussions
Topic: Combine Unifi controller and Domoticz on Raspberry
Replies: 7
Views: 2760

Re: Combine Unifi controller and Domoticz on Raspberry

You need to edit the port setting in /etc/init.d/domoticz.sh
Thx! That solved the problem!
by rbosch
Sunday 17 December 2017 23:01
Forum: Other questions and discussions
Topic: Combine Unifi controller and Domoticz on Raspberry
Replies: 7
Views: 2760

Combine Unifi controller and Domoticz on Raspberry

Has anyone managed to run Domoticz and Unifi controller on the same Raspberry? I have a Pi 3 which had a Unifi controller running. But after installing Domoticz (with the curl script) the Unificontroller is no longer accessable at the designated port (8443). Maybe conflicting HTTPS configurations ...