Search found 13 matches

by mash47
Tuesday 24 November 2020 9:29
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 419
Views: 121431

Re: Python Plugin: Smart Virtual Thermostat

Logread wrote: Tuesday 24 November 2020 8:09 Hi, thanks for uncovering that bug. Will fix it in the next version.
Thank you
by mash47
Tuesday 24 November 2020 0:28
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 419
Views: 121431

Re: Python Plugin: Smart Virtual Thermostat

@Logread, an excellent Domoticz version of Antor's SVT for Vera

I've been using the Smart Virtual Thermostat by Antor for about 5 year on a mios/Veralite. The majority of my devices have been migrated to Domoticz on a raspberry pi but I'm still using the SVT on the Veralite.

I've been testing the ...
by mash47
Thursday 15 October 2020 16:41
Forum: Dashticz
Topic: Dashticz - Live data graph
Replies: 3
Views: 399

Re: Dashticz - Live data graph

Lokonli wrote: Thursday 15 October 2020 16:03 So, can I have your votes please :)
Yes definately.

Is there a way that I can store the 10 second data in a database on my raspberry pi and configure Dashticz to create a graph from this data?
by mash47
Thursday 15 October 2020 14:02
Forum: Dashticz
Topic: Dashticz - Live data graph
Replies: 3
Views: 399

Dashticz - Live data graph

Hello,
I've just installed Dashticz V3. I use Remote server -> MQTT -> Node-RED -> MQTT -> Domoticz Virtual Sensor to show live electricity demand updated every 10 seconds. How can I display every 10 second update on a Dashticz graph ?
by mash47
Monday 12 October 2020 20:48
Forum: Utility
Topic: Electricity data not passed to Virtual Sensor by Node-RED
Replies: 1
Views: 382

Re: Electricity data not passed to Virtual Sensor by Node-RED

***************** FIXED *****************

In the 'MQTT Client Gateway with LAN interface' Remote Address field I'd entered the remote server info instead of localhost.
by mash47
Monday 12 October 2020 18:06
Forum: Utility
Topic: Electricity data not passed to Virtual Sensor by Node-RED
Replies: 1
Views: 382

Electricity data not passed to Virtual Sensor by Node-RED

Hello,
I'm trying to show data in a virtual Electric(Instant+Counter) sensor. The data is pulled in via MQTT from a remote server and the Node-RED output in the debug screen is ...
11/10/2020, 20:25:35 node: 873abf91.f3419
SMART/HILD/************ : msg.payload : Object
{ command: "udevice", idx: 89 ...
by mash47
Sunday 23 February 2020 23:08
Forum: Z-Wave
Topic: What is the current status of Z-Wave in the latest beta?
Replies: 17
Views: 2951

Re: What is the current status of Z-Wave in the latest beta?


About a year ago I abandoned OpenZwave and replaced it with HomeSeer (because their implementation of Z-Wave is Z-Wave certified and in my opinion the best I've ever seen). I've got a node-red flow that sends it to MQTT and then into Domoticz.

The Node-Red flow simply matches control by device ...
by mash47
Thursday 19 December 2019 17:13
Forum: Examples & Solutions
Topic: random on / random duration
Replies: 2
Views: 1352

Re: random on / random duration


If you have:
dz.devices(15).switchOn().withinMin(15)
dz.devices(15).switchOff().withinMin(15)

This might already switch off the light before the switch on.

Yes I agree, that is why I used the math.random(n, m) function to ensure that the randomised duration was applied after the switch had ...
by mash47
Wednesday 18 December 2019 18:08
Forum: Examples & Solutions
Topic: random on / random duration
Replies: 2
Views: 1352

random on / random duration

dzVents allows randomised switch times using withinMin(minutes) etc but I've been unable to find anything in dzVents for a randomised duration. Here's the code to operate a switch with random on times and random duration ...
return {
on = {
timer = {'every 30 minutes'}
},
execute = function(dz ...
by mash47
Saturday 07 December 2019 12:18
Forum: dzVents
Topic: dzVents randomised times [Solved]
Replies: 2
Views: 1508

dzVents randomised times [Solved]

Here's an example from the wiki ..
-- switch on for 2 minutes after a randomized delay of 1-10 minutes
device.switchOff().withinMin(10).forMin(2)
Are randomised actions different in dzVents and device/scene timers? The wiki states that the random action time is after the set time whereas the ...
by mash47
Thursday 05 December 2019 13:32
Forum: dzVents
Topic: Dummy Device Attributes [Solved]
Replies: 4
Views: 1982

Re: Dummy Device Attributes [Solved]

Thanks guys, I just have to work out the rest of the DzVents syntax! I've been using Lua on a mios vera box for the last 8 years, DzVents is a steep learning curve at my age!
by mash47
Thursday 05 December 2019 9:29
Forum: dzVents
Topic: Dummy Device Attributes [Solved]
Replies: 4
Views: 1982

Dummy Device Attributes [Solved]

I've set up a virtual device of type 'Dummy (Does nothing, use for virtual switched only'. Data is inserted by @MikeF 's 'Another sun position calculator'. When I run this DzVents script ...

return {
on = {
devices = {
'Sun azimuth'
}
},
execute = function(domoticz, device)
end
}

I see ...
by mash47
Wednesday 04 December 2019 14:23
Forum: Python
Topic: Another sun position calculator
Replies: 1
Views: 1536

Re: Another sun position calculator

Hello,

This is my first post, having just migrated most of my devices from a Veralite system to Domoticz on a raspberry pi.

I had a sun position plugin on the Veralite to trigger a position change of my vertical blinds and I would like to run @MikeF 's script on the raspi. Python is new to me, I'm ...