Search found 65 matches

by Mace
Monday 06 August 2018 18:22
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 89724

Re: TP-Link smart plug HS100/HS110

@Mace, apologies for not including the missing link. I am using the systemctl daemon on my Raspberry Pi for all scripts that I create. It starts the scripts at boot time and can be used to control them (i.e. start, stop, restart, status). This is how I set it up: [EDIT] PS: It seems that you edited ...
by Mace
Monday 06 August 2018 16:14
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 89724

Re: TP-Link smart plug HS100/HS110

You are the man!!!! ;) That would be awesome....
by Mace
Monday 06 August 2018 14:22
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 89724

Re: TP-Link smart plug HS100/HS110

Thanks Andrew,

Seems to work fine now! Now just find out if you can get the state (on or off) reported, as now there can be a mismatch between domoticz and the actual status of the device if turned on or off manually....
by Mace
Sunday 05 August 2018 21:44
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 89724

Re: TP-Link smart plug HS100/HS110

I'm a bit stuck here....Hope you can help me out. I had a script running for my HS110 perfectly for months. Had an issue with a memory card going bust and the back-ups weren't actually back-ups.... :oops: Now I'm puzzling everything back together but hit a wall here. I know I had a script running ...
by Mace
Sunday 28 January 2018 9:42
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 77368

Re: Is it gonna rain within the next X minutes?

mvroosmalen wrote: Tuesday 23 January 2018 7:51 He mace,
In that case change then commandArray['SendNotification']=....... to code to only send to for example pushbullet or change settings.

s6

Mark
Thanks Mark, I however have no clue on how to doe that... ;)
by Mace
Monday 22 January 2018 22:09
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 77368

Re: Is it gonna rain within the next X minutes?

He Mark. I'd like to get notifications only thru one channel. Now it's everything (mail, pushbullet, ...). So it's not the frequency.
by Mace
Saturday 20 January 2018 23:41
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

@febalci: Exactly the same behavior at my installation as my near neighbour has...
by Mace
Saturday 20 January 2018 21:10
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

@Edwin, happens to me to. Did a brand new install of Domoticz and this script still manages to kill it. Too bad, but I already pitched in for the Life 360 program...

Hope someone can shine a light on this.
by Mace
Saturday 20 January 2018 21:08
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 77368

Re: Is it gonna rain within the next X minutes?

I get bombarded with notifications raging from email thru pushbullet....How can I limit the notifications to 1 medium?
by Mace
Sunday 14 January 2018 15:21
Forum: Design, usability and languages
Topic: Aurora theme
Replies: 466
Views: 168291

Re: Aurora theme

Really like this theme, great work!

What I can't figure out is when a graph is shown in a temperature block and when it's not:
Image
by Mace
Wednesday 10 January 2018 10:43
Forum: Heating/cooling
Topic: Resol DL2 Datalogger(Vbus)
Replies: 29
Views: 10787

Re: Resol DL2 Datalogger(Vbus)

After having to stop the script because of the bugs in the beta software, I'm trying to get it running again, but get the following error: 2018-01-10 10:41:00.504 LUA: ======================================================================================================== 2018-01-10 10:41:00.504 LUA ...
by Mace
Wednesday 10 January 2018 8:57
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
Replies: 245
Views: 67158

Re: Real-time solar data : azimuth, Altitude, Lux sensor...

I've stopped the script from running because of the bugs in the beta software last month, but that seems fixed now. So I started the script again and now I get the following error:

Code: Select all

Lua script Real time weather data did not return a commandArray
Anyone else with the same problem or with a solution?
by Mace
Wednesday 13 December 2017 20:36
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

OK, will get that for you. Will be a couple of days before I have time.
by Mace
Wednesday 13 December 2017 17:21
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

Turns out something went wrong with downloading the files. Content somehow became the Internetpage code..... Fixed this, but when I activate the plugin (so set it up in hardware), as soon as the devices are 'made' and I go to the device page, the list of devices is empty and a second later, Domoticz ...
by Mace
Sunday 10 December 2017 15:22
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

plugin.py is same as downloaded file (checked with nano)

I've got NUT_UPS running, also have Buienradar, but that crashes if activated
by Mace
Sunday 10 December 2017 11:09
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

Didn't work. All relevant files have 755. After restart same error message and Life360 isn't in the list of hardware.
by Mace
Saturday 09 December 2017 22:24
Forum: Python
Topic: Python Plugin: Life 360 Presence Detection (deprecated)
Replies: 165
Views: 40153

Re: Python Plugin: Life 360 Presence Detection

Here also some problems getting the plugin working. After creating the life360 directory in the plugins section and copying the files to it and finally restarting Domoticz, I don't see it in the hardware list. I do get an error in Domoticz: PluginList: Parsing '/home/mace/domoticz/plugins/life360 ...
by Mace
Saturday 09 December 2017 19:40
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 89724

Re: TP-Link smart plug HS100/HS110

Thanks Mike! I didn't spot the following:
baseURL = 'http://<Domoticz IP:port>/json.htm?type=command&param=udevice&nvalue=0'

As soon as I changed the values to match my installation, it started working like a charm!
by Mace
Saturday 09 December 2017 11:53
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 89724

Re: TP-Link smart plug HS110 - send energy data to Domoticz

I have now created a python script to send energy data from the TP-Link HS110 Smart Plug to Domoticz: #!/usr/bin/env python # # TP-Link Wi-Fi Smart Plug Protocol Client # For use with TP-Link HS110: energy monitor # # Gets current power (W) and cumulative energy (kWh) # and sends to Domoticz import ...
by Mace
Saturday 28 October 2017 16:00
Forum: LUA
Topic: Presence detection based on IP and Bluetooth
Replies: 45
Views: 11663

Re: Presence detection based on IP and Bluetooth

Looks like a great solution! Have to agree with manjh, that it is rather difficult to read between the code what to do. Maybe for advanced users this is readable, but I'm getting lost already by the fact that I don't know where to put the presence file.... I CAN see that it has a lot of potential ...