Search found 1787 matches

by FireWizard
Sunday 16 March 2025 16:49
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Hello @edwin1234, Good to hear. It is something strange, I had it also. When I connected "your Function" node to the same "Inject" node, your "Function" node did not produce any output, while my original "Function" node (with the same contents) produced the expected output. I disconnected my ...
by FireWizard
Saturday 15 March 2025 18:01
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Hello @edwin1234, I compared the contents of the "Function" node with the one in my "Test" flow. The contents is equal, so no visible difference. For the moment it works for me, and I cannot explain, why it does not work for you. As a reference I have attached my test flow.. Try this. [ { "id ...
by FireWizard
Saturday 15 March 2025 9:12
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Can you send me your flow?
by FireWizard
Saturday 15 March 2025 8:24
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Hi @edwin1234,
Must it be done like this?
Yes, that is correct, at least as the data, that you receive in msg.payload.data.dps["19"] is equal to a 3 digit number.e.g. 468, which would result in 46% humidity.

Regards
by FireWizard
Tuesday 11 March 2025 20:45
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Hi @edwin1234, I would do it as follows: 1. Drag and drop a new "Function" node to the canvas. 2. Then go to the code block in my previous post and "SELECT ALL". 3. Ctrl-C 4. Open the new "Function" node and 5. Ctrl-V 6. Make your changes, as you did also previously. 7. Replace your old "Function ...
by FireWizard
Tuesday 11 March 2025 0:06
Forum: Node-RED
Topic: How to put result of calculation into mqtt command
Replies: 6
Views: 344

Re: How to put result of calculation into mqtt command

Hello @sailmich,
With that the flow is working as I want!
If you are happy, I have to be as well :D .

Regards
by FireWizard
Monday 10 March 2025 19:49
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Good evening @edwin1234, You said: It Works perfectly I would say, it works (almost). The svalue is in this case a fixed value of "0", which means "normal" . See: https://piandmore.wordpress.com/2019/02/04/mqtt-out-for-domoticz/ lv is the environment level which can have the following values: 0 ...
by FireWizard
Monday 10 March 2025 19:09
Forum: Node-RED
Topic: How to put result of calculation into mqtt command
Replies: 6
Views: 344

Re: How to put result of calculation into mqtt command

Hi, @sailmich, I loaded your flow in my test system with Node RED. Honestly said, I do not understand what you really want to achieve. Let me explain. You "Inject" a numerical value (35). I assume that this shall represent the temperature, so 35°C. This has a topic, called "SZ_Vorlauf", which I ...
by FireWizard
Monday 10 March 2025 9:14
Forum: Node-RED
Topic: How to put result of calculation into mqtt command
Replies: 6
Views: 344

Re: How to put result of calculation into mqtt command

Hi, @sailmich, Actually this has no relationship with Domoticz. You receive the temperature from a Shelly addon in Node-Red by MQTT input node. You do the calculation in a Change node. The result you want to send to a MQTT output node to a Shelly device. Which Shelly device? A Gen 1 or Gen 2/3 ...
by FireWizard
Sunday 09 March 2025 21:27
Forum: Node-RED
Topic: How to put result of calculation into mqtt command
Replies: 6
Views: 344

Re: How to put result of calculation into mqtt command

Hi @sailmich, My problem is how can I get the calculated result into the function node to sent it to the fan. Question Where do you do that calculation? Is it a separate program, that gives you a result on the command line. Is it on the same computer/Raspberry Pi, which runs Node-RED Or is it done ...
by FireWizard
Friday 07 March 2025 22:20
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Hello edwin1234, You should send the following from Node-RED to Domoticz: {"command":"udevice", "idx":1234, "svalue":"lv", "nvalue":hu} , where the nvalue is the humidity and the svalue is the level The nvalue should be without decimals. So send the following: msg.payload = { "command": "udevice ...
by FireWizard
Friday 07 March 2025 9:10
Forum: Node-RED
Topic: How to get this in domoticz
Replies: 33
Views: 2111

Re: How to get this in domoticz

Hi @edwin1234, I think, you receive the Humidity from the same sensor, that you called "Luchtkwaliteit". Obviously the Humidity sensor gives you an accuracy of 0.1 %. So 550 means 55.0%. So you have to divide your value by 10. That is done in Node-RED. However you can only send whole numbers and no ...
by FireWizard
Friday 28 February 2025 18:04
Forum: General Discussion
Topic: Cloudfare Captcha
Replies: 6
Views: 710

Re: Cloudfare Captcha

Hi, It is pure coincidence that your installation of a new PC with a new Linux OS happens at about the same time that it appears to be necessary to protect the Domoticz forum site against DDOS attacks So there is nothing that you or others can do to avoid that way of protection. Unfortunately it is ...
by FireWizard
Thursday 27 February 2025 14:57
Forum: Node-RED
Topic: Node Red -> Domoticz help with setting up transfer
Replies: 36
Views: 5009

Re: Node Red -> Domoticz help with setting up transfer

Hi, @daro 1003, This part covers the Node-RED nodes needed to control your vents equipment. Screenshot_Modbus-Control.png First you have to configure your own MQTT server (Broker) You can use the same configuration as for the MQTT Output node. The topic is "domoticz/out" The next node is a "default ...
by FireWizard
Thursday 27 February 2025 14:34
Forum: Node-RED
Topic: Node Red -> Domoticz help with setting up transfer
Replies: 36
Views: 5009

Re: Node Red -> Domoticz help with setting up transfer

hello @Daro1003, As promised, hereby my example of sending commands to your Vents equipment. I follow the steps, that I explained in my previous post. In my example , I want to control the Power of the Unit. So Unit On/Off and also want to be able to "Reset all alarms" This means, I have to write a ...
by FireWizard
Wednesday 26 February 2025 16:14
Forum: Node-RED
Topic: Node Red -> Domoticz help with setting up transfer
Replies: 36
Views: 5009

Re: Node Red -> Domoticz help with setting up transfer

Hello @Dara1003, Let me answer the questions first, you previously asked, before I explain how to write ModBus commands. Tell me what changes if I want to read more data in the future? This depends on what you want. Basically you have to consider the following steps: 1. What do I want to send from ...
by FireWizard
Tuesday 25 February 2025 21:32
Forum: Node-RED
Topic: Node Red -> Domoticz help with setting up transfer
Replies: 36
Views: 5009

Re: Node Red -> Domoticz help with setting up transfer

Hi,

What do you mean with ID code? Idx?

And what do you mean with Z code?

Regards
by FireWizard
Tuesday 25 February 2025 19:52
Forum: Node-RED
Topic: Node Red -> Domoticz help with setting up transfer
Replies: 36
Views: 5009

Re: Node Red -> Domoticz help with setting up transfer

Hi @Daro1003, This is exactly, what I needed, thanks for that. I downloaded a number of their documents as well Please find the "flow" of only the "Function"node below. The total flow is almost identical with the previous flow of the Sofar 15KTL-X inverter. Screenshot_Vents.png As said, I send you ...
by FireWizard
Monday 24 February 2025 14:49
Forum: Node-RED
Topic: Node Red -> Domoticz help with setting up transfer
Replies: 36
Views: 5009

Re: Node Red -> Domoticz help with setting up transfer

hello @Daro1003, I have looked more carefully to your pictures and I believe I can answer a few of my own questions (partly), but you should confirm, that I'm correct 1What OS runs this Computer? (Windows, Linux, MacOS, etc) I think that you mean with 'the program on your computer', the "Modbus ...
by FireWizard
Monday 24 February 2025 12:34
Forum: Utility
Topic: Water meter weird cost calculation
Replies: 20
Views: 1032

Re: Water meter weird cost calculation

Hi,

You have set your "Counter Divider" to 1000, but you have also setup the divider in "RFXMeter/Counter/Dividers" for Water to 1000
Change it in the "Device Setting" to 0 (0 = Application default) instead of 1000.

Regards