Very interested to hear if you solved this?
Would like to have the ability to update a graph with electric pricing, which is available @13h00 for the coming day (at least for DK/NO/SE).
Thanks!
M
Search found 39 matches
- Thursday 27 October 2022 14:41
- Forum: Utility
- Topic: Present "day ahead data"
- Replies: 4
- Views: 812
- Friday 06 August 2021 8:35
- Forum: Suggestions
- Topic: Dummy device with generic graph option
- Replies: 1
- Views: 531
Dummy device with generic graph option
Hi,
I'm a happy Domoticz user for many years - BUT I have recently added the possibility to monitor status from my Kamstrup Omnipower 3 phase electric meter.
My problem is how to present the data nicely in Domoticz - zoomable graphs for 3 phase voltage, amps and power to name a few.
Yes I know I ...
I'm a happy Domoticz user for many years - BUT I have recently added the possibility to monitor status from my Kamstrup Omnipower 3 phase electric meter.
My problem is how to present the data nicely in Domoticz - zoomable graphs for 3 phase voltage, amps and power to name a few.
Yes I know I ...
- Monday 03 February 2020 16:48
- Forum: dzVents
- Topic: dzVents and RGBW functions
- Replies: 8
- Views: 1884
Re: dzVents and RGBW functions
You are right
Must have been looking at this before coffee....
Why would it be needed to fix RGB to 0xffffff if brightness is 0?
/M
Why would it be needed to fix RGB to 0xffffff if brightness is 0?
/M
- Monday 03 February 2020 13:29
- Forum: dzVents
- Topic: dzVents and RGBW functions
- Replies: 8
- Views: 1884
Re: dzVents and RGBW functions
Well it looks like the setHex() function is actually not setting RGB values dirtectly, but converting them to HSB
from dzVents sources:
function device.setHex(r,g,b)
local _ , _ , brightness = domoticz.utils.rgbToHSB(r, g, b)
local hex = string.format("%02x",r) .. string.format("%02x", g ...
from dzVents sources:
function device.setHex(r,g,b)
local _ , _ , brightness = domoticz.utils.rgbToHSB(r, g, b)
local hex = string.format("%02x",r) .. string.format("%02x", g ...
- Monday 03 February 2020 11:17
- Forum: dzVents
- Topic: dzVents and RGBW functions
- Replies: 8
- Views: 1884
Re: dzVents and RGBW functions
Hi again,
Have you tried with a dummy RGBW switch?
Don't you agree that setHex(0,0,0) resulting in RGB=ffffff seems like a bug?
It's not right to expect 0x000000 to be the same as 0xffffff, 000000 is black and ffffff is white.
/m
Have you tried with a dummy RGBW switch?
Don't you agree that setHex(0,0,0) resulting in RGB=ffffff seems like a bug?
It's not right to expect 0x000000 to be the same as 0xffffff, 000000 is black and ffffff is white.
/m
- Monday 03 February 2020 8:42
- Forum: dzVents
- Topic: dzVents and RGBW functions
- Replies: 8
- Views: 1884
Re: dzVents and RGBW functions
@waaren: Thanks for your reply.
Do you see your tests as successful - ie. the output is as you expect given the input?
I'm sure I see why the setHex(0, 0, 0) function would result in RGB set to ffffff!?
That function also seems to use mode "ColorModeWhite = 1, // White. Valid fields: none", which ...
Do you see your tests as successful - ie. the output is as you expect given the input?
I'm sure I see why the setHex(0, 0, 0) function would result in RGB set to ffffff!?
That function also seems to use mode "ColorModeWhite = 1, // White. Valid fields: none", which ...
- Monday 03 February 2020 8:32
- Forum: Others
- Topic: MQTT domoticz/out message size
- Replies: 4
- Views: 617
Re: MQTT domoticz/out message size
Hi,
Thanks - yes thats also what I did to find out that my issue wasn't with Domoticz but the way I thought NodeRed worked...
With export til file there is no problem
/M
Thanks - yes thats also what I did to find out that my issue wasn't with Domoticz but the way I thought NodeRed worked...
With export til file there is no problem
/M
- Friday 31 January 2020 14:45
- Forum: dzVents
- Topic: dzVents and RGBW functions
- Replies: 8
- Views: 1884
dzVents and RGBW functions
Hi,
I have a dummy RGBW dimmer switch, which I try to set using dzVents.
Maybe I don't use it right, but when I eg. do
devices('McLighting').setHex(0, 0, 0)
I would expect the RGB value to be set to 0x000000.
However my log says:
Status: setcolbrightnessvalue: ID: 281, bri: 0, color: '{m: 1 ...
I have a dummy RGBW dimmer switch, which I try to set using dzVents.
Maybe I don't use it right, but when I eg. do
devices('McLighting').setHex(0, 0, 0)
I would expect the RGB value to be set to 0x000000.
However my log says:
Status: setcolbrightnessvalue: ID: 281, bri: 0, color: '{m: 1 ...
- Thursday 30 January 2020 9:49
- Forum: Others
- Topic: MQTT domoticz/out message size
- Replies: 4
- Views: 617
Re: MQTT domoticz/out message size
Hi,
Thanks for the suggestion...
I found out however that NodeRed actually truncates the debug output and that Domoticz actually outputs somethin like:
{
"Battery" : 255,
"LevelActions" : "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||",
"LevelNames" : "Off|TV|CUSTOM WS|Static ...
Thanks for the suggestion...
I found out however that NodeRed actually truncates the debug output and that Domoticz actually outputs somethin like:
{
"Battery" : 255,
"LevelActions" : "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||",
"LevelNames" : "Off|TV|CUSTOM WS|Static ...
- Wednesday 29 January 2020 16:48
- Forum: Others
- Topic: MQTT domoticz/out message size
- Replies: 4
- Views: 617
MQTT domoticz/out message size
Hi,
I'm trying to pass a domoticz/out message from a dummy selector switch in Domoticz.
It's a selector switch with many stages (one for each state/mode of my McLighting).
But it seems like the message is trunkated at around 1000 bytes, it looks like this:
{
"Battery" : 255,
"LevelActions ...
I'm trying to pass a domoticz/out message from a dummy selector switch in Domoticz.
It's a selector switch with many stages (one for each state/mode of my McLighting).
But it seems like the message is trunkated at around 1000 bytes, it looks like this:
{
"Battery" : 255,
"LevelActions ...
- Friday 24 January 2020 13:18
- Forum: Switches and Scenes
- Topic: How to update switch status ?
- Replies: 38
- Views: 31069
Re: How to update switch status ?
Not sure what is your exact setup (the script controlling the selector switch etc) but there has for a long time been the option to use UpdateDevice method in commandArray (lua) or udevice via json. The latter was changed for a brief moment (https://www.domoticz.com/forum/viewtopic.php?f=6&t=16052 ...
- Tuesday 21 January 2020 11:16
- Forum: Others
- Topic: McLighting support in Domoticz
- Replies: 0
- Views: 290
McLighting support in Domoticz
Hi,
I have installed a few of these RGBW strips controlled by
https://github.com/FabLab-Luenen/McLighting
Which is a GREAT way to control the strips!
Have anybody made some integration of McLightning into Domoticz ?
It supports both REST API, MQTT and others.
Thanks!
Mikkel
I have installed a few of these RGBW strips controlled by
https://github.com/FabLab-Luenen/McLighting
Which is a GREAT way to control the strips!
Have anybody made some integration of McLightning into Domoticz ?
It supports both REST API, MQTT and others.
Thanks!
Mikkel
- Wednesday 21 March 2018 9:29
- Forum: Other questions and discussions
- Topic: Delete a device
- Replies: 13
- Views: 8578
Re: Delete a device
On the delete subject - how do I UNdelete a device?
I have deleted a RFLink device, that I now would like to UNdelete - is that possible and how?
Thanks!
I have deleted a RFLink device, that I now would like to UNdelete - is that possible and how?
Thanks!
- Thursday 25 January 2018 13:39
- Forum: Python
- Topic: Python plugin: ESPEasy (pwm/dimmer)
- Replies: 0
- Views: 852
Python plugin: ESPEasy (pwm/dimmer)
Hi,
I'm using the ESPEasy firmware to control a number of LED strips. I currently have a LUA script interfacing between a dummy dimmer in Domoticz and the ESPEasy URL.
I would very much like to have this interface handled by a Python plugin instead - since the LUA solution doesn't scale very ...
I'm using the ESPEasy firmware to control a number of LED strips. I currently have a LUA script interfacing between a dummy dimmer in Domoticz and the ESPEasy URL.
I would very much like to have this interface handled by a Python plugin instead - since the LUA solution doesn't scale very ...
- Tuesday 16 January 2018 15:27
- Forum: dzVents
- Topic: afterSec(x)
- Replies: 24
- Views: 4317
Re: afterSec(x)
Hi,
Are you sure it shouldn't be:
domoticz.variables('SoundSiren').set(domoticz.variables('SoundSiren').value)
With you suggestion I get a value like:
Handling variable-events for: "SoundSiren", value: "table: 0x7f2c800b7ef0"
BR,
M
Are you sure it shouldn't be:
domoticz.variables('SoundSiren').set(domoticz.variables('SoundSiren').value)
With you suggestion I get a value like:
Handling variable-events for: "SoundSiren", value: "table: 0x7f2c800b7ef0"
BR,
M
- Tuesday 16 January 2018 14:53
- Forum: dzVents
- Topic: afterSec(x)
- Replies: 24
- Views: 4317
Re: afterSec(x)
Sorry for being stupid here, but are you suggesting that setting the variable to its own value will cancel the queued items?
/M
/M
- Tuesday 16 January 2018 14:35
- Forum: dzVents
- Topic: afterSec(x)
- Replies: 24
- Views: 4317
Re: afterSec(x)
Hi,
Thanks for the quick reply.
I do it like this:
domoticz.variables('SoundSiren').set('0')
But that doesn't cancel the afterSec() - it's still called after the time-out.
Any other suggestions that might work?
Thanks.
Thanks for the quick reply.
I do it like this:
domoticz.variables('SoundSiren').set('0')
But that doesn't cancel the afterSec() - it's still called after the time-out.
Any other suggestions that might work?
Thanks.
- Tuesday 16 January 2018 13:10
- Forum: dzVents
- Topic: afterSec(x)
- Replies: 24
- Views: 4317
Re: afterSec(x)
Question:
Is it possible to cancel an .afterSec() before it is activated (the time has passed)?
The use-case is for an alarm system, where I use afterSec to time from when the PIR is trigged to when the siren should start. I want to be able to cancel the siren if the alarm is disarmed.
Thanks ...
Is it possible to cancel an .afterSec() before it is activated (the time has passed)?
The use-case is for an alarm system, where I use afterSec to time from when the PIR is trigged to when the siren should start. I want to be able to cancel the siren if the alarm is disarmed.
Thanks ...
- Friday 22 December 2017 13:08
- Forum: Cameras
- Topic: Start camera recording on surveillance station by switch
- Replies: 14
- Views: 12756
Re: Start camera recording on surveillance station by switch
HI to all,
I'am Noob about lua scripting and I would like to ask how to manage this:
I have a Synology NAS with Surveillance station and I can get on/off the SStation works with a SSH command / Tasker on my android phone, but now I would like to integrate that within a Domoticz dummy switch...
I ...
- Monday 09 October 2017 11:42
- Forum: dzVents
- Topic: afterSec(x)
- Replies: 24
- Views: 4317
Re: afterSec(x)
Are we getting closer to a solution? 