Search found 449 matches

by Westcott
Thursday 21 September 2017 11:17
Forum: Heating/cooling
Topic: ELV Max! Heating control system
Replies: 569
Views: 81784

Re: ELV Max! Heating control system

Hi Peggy, Yes, it is confusing, isn't it? My helper is based on Egregius' Pass2php. The main difference is that my 'script' runs continuously as a service. Domoticz Lua sends all device data to my helper, including name-to-idx table. This is held in the Python dictionary 'indexes' Lua - function Uti...
by Westcott
Wednesday 20 September 2017 18:35
Forum: Heating/cooling
Topic: ELV Max! Heating control system
Replies: 569
Views: 81784

Re: ELV Max! Heating control system

Hi Peggy, Thanks for the kind words (blush)! The old device delete scheduler in RunDeleted() runs every 30 mins. The call sch.enter(15, 1, RunDeleted) runs just once, 15 seconds after it is called, so the background processes don't all start at once, but at 5 sec intervals. My Sonoffs all run ESPeas...
by Westcott
Wednesday 20 September 2017 17:04
Forum: RFLink Transceiver
Topic: These Aliexpress work
Replies: 7
Views: 470

Re: These Aliexpress work

Hi Derik,

Thanks for the warning!
These are 433MHz devices - what is the possible problem?
My forum search did not find anything.
by Westcott
Wednesday 20 September 2017 11:59
Forum: Heating/cooling
Topic: ELV Max! Heating control system
Replies: 569
Views: 81784

Re: ELV Max! Heating control system

Hi Peggy,

Attached file has the bits you want (I think!)
The commented-out line used to update the valve's 'mode' in Domoticz.
I took it out because I only use 'manual' mode.
by Westcott
Tuesday 19 September 2017 20:12
Forum: Heating/cooling
Topic: ELV Max! Heating control system
Replies: 569
Views: 81784

Re: ELV Max! Heating control system

Hi Peggy and Mvzut, Thanks for the interest! This is just one module from my Python Domoticz helper. I wrote the helper to handle all of the network and internet action previously done in Lua. Now I have 'proper' error handling and retries, no more Lua 10 second time-outs (times-out?). Read() is cal...
by Westcott
Tuesday 19 September 2017 17:50
Forum: RFLink Transceiver
Topic: These Aliexpress work
Replies: 7
Views: 470

These Aliexpress work

I got some new sensors from Aliexpress. They worked 'straight out of the packet', are complete with batteries, send On and Off, and came in 9 days. YobangSecurity 433 Mhz EV1527 Wireless Passive Infrared Sensor - https://www.aliexpress.com/item/Hot-Sale-433-Mhz-EV1527-Wireless-Passive-Infrared-Senso...
by Westcott
Monday 18 September 2017 0:09
Forum: Heating/cooling
Topic: ELV Max! Heating control system
Replies: 569
Views: 81784

Re: ELV Max! Heating control system

I'm using the Python library 'maxcube' #!/usr/local/bin/python3 import socket import time from maxcube.cube import MaxCube from maxcube.connection import MaxCubeConnection class Cube: def __init__(self, utils=None): try: self.mconfig = utils.config["MaxCube"] self.CubeName = self.mconfig.get('name',...
by Westcott
Tuesday 12 September 2017 10:28
Forum: Rfxcom Transceiver
Topic: Digoo DG-R8S 433MHz Hygrometer Thermometer
Replies: 5
Views: 214

Re: Digoo DG-R8S 433MHz Hygrometer Thermometer

I've got a Digoo TH8868 and a TH8888.
Very nice displays, but the remote sensors are not seen by RFlink nor RFX.
by Westcott
Saturday 09 September 2017 14:53
Forum: Bugs and Problems
Topic: HTTP JSON error
Replies: 9
Views: 370

Re: HTTP JSON error

Gosh, that's so neat!
Thanks.
by Westcott
Friday 08 September 2017 15:40
Forum: Other questions and discussions
Topic: React on RSS feed
Replies: 5
Views: 198

Re: React on RSS feed

Python has an RSS feedreader library.
It seems to be possible in LUA as well, which makes integration easier.
How frequently would you want to check the feed?
by Westcott
Monday 04 September 2017 14:37
Forum: Z-Wave
Topic: Cheap chinese z-wave products
Replies: 450
Views: 59685

Re: Cheap chinese z-wave products

What you want is LiFePO4 rechargeables.
They have the same voltage as the non-rechargeable ones.
In my Fibaro motion sensors they last over 3 months.
I bought 4 complete with the matching charger.
Ordinary Li-on chargers won't work.
by Westcott
Sunday 27 August 2017 12:26
Forum: Bugs and Problems
Topic: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available
Replies: 22
Views: 1693

Re: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available

I don't know if this will help you, but I had to add an entry to the bottom of my .bashrc file, just before the PYTHONPATH entry -

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
by Westcott
Monday 21 August 2017 14:46
Forum: General Discussion
Topic: Bluetooth presence detection using Happy Bubbles
Replies: 5
Views: 580

Re: Bluetooth presence detection using Happy Bubbles

Thanks for the link!
I've already got a simple BLE scanner working on my ESP32.
Next add a JSON send to Domoticz.
IMO much easier than that MQTT malarkey.
by Westcott
Sunday 20 August 2017 13:22
Forum: Bugs and Problems
Topic: Cant reach web interface (Raspberry PI)
Replies: 50
Views: 6173

Re: Cant reach web interface (Raspberry PI)

D'rMorris - thanks for the commands! I've now done them on my Pi2, so will wait to see what happens. Domoticz has been crashing randomly for the last couple of weeks. I'm always on the 'latest' beta version, or a day behind, so it doesn't seem version specific. Nothing to see in the logs, nor in the...
by Westcott
Sunday 20 August 2017 13:14
Forum: General Discussion
Topic: Bluetooth presence detection using Happy Bubbles
Replies: 5
Views: 580

Re: Bluetooth presence detection using Happy Bubbles

Looks like it's basically an ESP32 with a few extra bits.
I'm just starting an Arduino sketch to get this same functionality.
by Westcott
Saturday 12 August 2017 0:59
Forum: Bugs and Problems
Topic: "last seen" value not being updated with latest Domoticz
Replies: 10
Views: 677

Re: "last seen" value not being updated with latest Domoticz

Aren't SQL equals tests just a single '=' ?
by Westcott
Wednesday 09 August 2017 0:04
Forum: Compatibility
Topic: What is the most stable platform to run Domoticz?
Replies: 14
Views: 2188

Re: What is the most stable platform to run Domoticz?

Perhaps I'm lucky, or tempting fate, but I've been using a "Samsung Memory 16 GB PRO Micro SDHC Memory Card" in my Pi2 since the end of 2015.
by Westcott
Monday 24 July 2017 11:44
Forum: LUA
Topic: How to read/write a list (array) into a variable?
Replies: 4
Views: 276

Re: How to read/write a list (array) into a variable?

If it's a dict-type list, write/read it as JSON.
Otherwise perhaps as a Lua list string "{val1, val2, ...}"
by Westcott
Monday 24 July 2017 11:38
Forum: dzVents Lua Framework
Topic: Migrate from version 1.1.2
Replies: 4
Views: 243

Re: Migrate from version 1.1.2

That old one!
It's the browser intercepting '&para' and converting it to the paragraph symbol
by Westcott
Thursday 29 June 2017 17:00
Forum: Show your projects
Topic: Python 3 helper service
Replies: 0
Views: 286

Python 3 helper service

Hi all, I'm developing a helper service in Python 3. It's to run all of the network and internet calls I use for Domoticz. Originally these were handled directly by several Lua scripts, but I started getting more and more timeout errors - script running for more than 10 seconds. My inspiration was E...