Search found 6 matches

by parkerc
Sunday 09 May 2021 12:41
Forum: General Discussion
Topic: Oficial Docker Container
Replies: 217
Views: 118311

Re: Oficial Docker Container

Hi

Quick question ; how do you do a restart Domoticz when you’re running it via Docker.?

I can get to the command line via the following ..

Code: Select all

 docker exec -it domoticz-bridge /bin/bash
But the standard approach below does not work, as sudo is not found ..

Code: Select all

 sudo systemctl restart domoticz.service
by parkerc
Sunday 09 May 2021 11:40
Forum: LUA
Topic: Unifi controller - Presence detection
Replies: 21
Views: 6568

Re: Unifi controller - Presence detection

Hi

I recently updated my UniFi controller to the latest version (6.10) and these curl requests have stopped working .

Is anyone still able to connect and use this lua script ok ?
by parkerc
Sunday 09 May 2021 11:37
Forum: Python
Topic: SNMPreader - Is anyone using this successfully ?
Replies: 0
Views: 360

SNMPreader - Is anyone using this successfully ?

Hi

I really like the look of this SNMPreader plugin (https://github.com/ycahome/SNMPreader), to capture the energy value (kWh) from my UPS, but I can’t seem to get it to work - it just shows a list of errors in the log and not being proficient in Python - I’m at a loss on what’s wrong - (FYI - I’m ...
by parkerc
Monday 03 May 2021 1:22
Forum: Bash / PowerShell / Batch etc.
Topic: Presence detection using UniFi Controller (Ubiquiti Networks)
Replies: 49
Views: 33219

Re: Presence detection using UniFi Controller (Ubiquiti Networks)

Same issue, my latest UniFi controller update seems to have broke the wall

I have been trying to ing to figure out what’s changed. I’m wondering if the curl request / format has changed slightly (https://ubntwiki.com/products/software/unifi-controller/api)

Maybe it’s become ..

curl -k -X POST ...
by parkerc
Tuesday 15 August 2017 9:53
Forum: LUA
Topic: Unifi controller - Presence detection
Replies: 21
Views: 6568

Re: Unifi controller - Presence detection

Hi

Thanks so much for sharing this.

I would really like to be able to use this too and run it on a Linux box.

Are the file locations important? Sadly I'm not a programmer but would it be possible for the code to create the required files if they are present ?

Could this script also be used to ...
by parkerc
Sunday 24 April 2016 17:57
Forum: LUA
Topic: Switch on/off when someone entering/leaving home (Ubiquiti)
Replies: 38
Views: 21105

Re: Switch on/off when someone entering/leaving home (Ubiquiti)

Hi

Has there been any more development on this, it would be good to be able to integrate/extract information from the UniFi system and use it in home automation