Controlling speed of an AC 230v FAN. Help Needed[RESOLVED]
-
Has anyone tried to control the speed of a fan.
I have relay connected to a fan. Relay is triggered using RelayActuator example. How can I now control the speed of the fan which is switched on when relay is triggered.
I tried adding a new sensor type V_FAN and I am sending MyMqtt/node_id/sensor_id/V_FAN but I am not able to receive the message type in the message at the node.
Note : I have manually assigned the sensor Id as relay 2 is assigned sensor id 2 by the relayActuator example code.EDIT: It was my mistake, didn't not update the gateway code after adding a new message type.
-
what type of data are you trying to send and is there a reason you can't use V_VAR1? or V_DIMMER?
I believe V_DIMMER is expecting a % and I know with V_VAR you can send any type you want.
-
i think V_DIMMER can be used for the purpose.. but controlling speed is not something u can do with just a relay .
-
I have a dimmer circuit with me which gives digital output. I just want to know the correct message format for the MQTT message. And how to add a new message type ?. Anyone has done this already ?
-
Help needed with adding a new message type. I want to add V_FAN to identify the fan. I am not able to send the message from gateway.
I am trying to check message.type = V_FAN, but nothing is happening, I think this message is never arriving at the node.
-
Can you share your code ?
-
Which hardware s used for controlling a FAN?
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Newbie questions
Hardware • 14 Feb 2025, 20:03 • magwas 14 Feb 2025, 20:03 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01