I never suggested using PCB relays however, which is why I was suggesting that a sparky can put something together.
You linked to a page full of them.
I simply linked to the page with ALL relays. Iām not here to do the design of some elseās hypothetical installation, just giving a direction for equipment supplies. Maybe I should have just given the base Altronics link and said ālook for relaysāā¦
If anything you should have been more specific not less.
Which was why I linked to a page without PCB mount types. Admittedly bloody expensive compared to something like: https://www.altronics.com.au/switches/relays/?type_2=cradle (and a base).
If a non-electrician (do you have a polite word for them ?) were to grab one of those, hook up their ELV control circuit then hand it to an electrician saying please make this switch my lights, 9 times out of 10 theyād be good.
Just beware that some device could have the more recent tuya firmware and that has blocked the tuya convert method, if they are older firmware then still good to go
But then, If I connect an ESP8266 or equivalent to the relay, theyāre probably going to say bugger off anyway? Plus Iām adding what I guess is something non-compliant to a compliant relay? So back to square one.
Yes, Iām aware of the firmware issue.
Thatās one reason why I am purchasing so many wall plugs while I can get them, they are all using the same firmware and flashable.
The only bit that needs certification is that which connects to the mains supply or is at that voltage. The control side will be ELV (5V in this case) so doesnāt matter in terms of certification. Use a certified 5V power supply to run the ESP and a certified (any correctly specified) relay / contactor / whatever and you would (ātheoreticallyā) be good to go. The same applies to the switch since it will only be switching 3.3v, it doesnāt need to be anything special. In the past I have used (Iām am electrician so able to specify and wire these things legally) the existing light switch mechanism (only swapped for a momentary pushbutton) as the control to the device. This way it looks completely standard. Just be cause the switch is rated for 240V, 10A doesnāt mean I canāt use if for 3.3v and bugger all amps Food for thought.
Donāt suppose youāre in the Southern Highlands by any chance?
Nah, Perth
Couldnāt get further away if you tried
For the aeotech switches if you have a light two or more switches do i need the aeotech device at each switch or just at one, assuming I want to be able to tell if the light is turned on via any of the switches and also potentially dim from any switch (and tell in HA if the switch is dimmed).
Also can anyone recommend an electrician in brisbane that has experience with all of this?
The Aeotec Nano switches support a 3-way switch setup and you only need one device in this case, assuming that your existing wiring is suitable.
My electrician installed one Nano switch this way and as far as I remember it had to go behind one specific existing light switch and not the other, because of how that all was wired behind the wall.
Both switches can still turn on/off the light, and I can remote control the light and see if itās on or off in HA.
I donāt have dimmers in a 3-way setup, but would imagine that you have to replace the wall switches for that level of control.
Hello fellow aussies,
I am planning to implement whole house energy monitoring including solar.
So far I have had a look at
Efergy
Livehouse Energy Monitor (seems like an
emonPi from Openenergymonitor
What energy monitoring products are you using? Any suggestions?
emonPi here, works very nicely with my solar setup, no cloud to worry about, integrates easily with HA.
All right, hereās an update for everyone.
Bought a Sonoff Dual R2 from Oikotec, the mob that have got the Sonoff Dual R2 and Sonoff POW certified for Australian use. If you want to save yourself $10, buy them direct instead of on eBay as they ship free of charge from their website. Hereās a photo:
Only difference I can tell between this and what youād buy overseas is the lack of header pins on the GND/BUTTON0/BUTTON1/BND GPIOs, so if you want external switches, youāll need to do some soldering.
Iāve already flashed it with ESPHome, next step is Iām going to make a little light circuit to test functionality with some Clipsal Iconic rocker switches and code with ESPHome before getting a sparky in to install it.
Quick question for the electricians here. Would boring old Dupont cables work for the GPIOās going to the switches? The switches will no longer be directly connected to the circuit so Iām guess the answer is that they would be fine?
I havenāt worked with Sonoffs before but Iām guessing that the GPIO is 3.3v? DuPontās will be fine but Iād be soldering to the GPIO connections so they canāt come loose
Yep, correct and theyāre working. Figured out I didnāt need to make a 240v circuit to test, instead just have it powered via the UART coverter.
So far so good, got a spare clipsal switch connected and its working as Iād want. Interestingly, the Tasmota guide for Dual R2 says:
NOTE Make sure not to use a switch that keeps the connection between GND and BUTTON 0 active while power is re-applied as the device will start in programming mode.
Now, this problem isnāt happening for me. That means that either the Clipsal switch doesnāt keep the connection between GND and BUTTON 0, or, the ESPHome firmware negates this issue.
For anyone curious, hereās my code. My next step is the have the switches send a command to HA to toggle my Yeelights, rather than flick the relays (which for my purposes will always remain on).
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: "Sonoff Switch 1"
on_press:
- switch.toggle: relay1
- platform: gpio
pin:
number: GPIO9
mode: INPUT_PULLUP
inverted: True
name: "Sonoff Switch 2"
on_press:
- switch.toggle: relay2
switch:
- platform: gpio
name: "Sonoff Relay 1"
pin: GPIO12
id: relay1
- platform: gpio
name: "Sonoff Relay 2"
pin: GPIO5
id: relay2
status_led:
pin:
number: GPIO13
inverted: yes
sensor:
- platform: wifi_signal
name: "Front Door Lights Sonoff WIFI Signal"
update_interval: 60s
text_sensor:
- platform: version
name: "Front Door Lights ESPHome version"
Are you using a toggle switch or momentary? If itās momentary (which you should use for this application, and it looks like your code is designed for) then at startup, there will be no connection to ground on that GPIO unless you have the button/switch held
Thanks everyone, this is a very useful thread.
Iām trying to decide on what to use for lighting in a new home thatās being constructed. Sparky will be wiring up soon.
To maximise WAF I need wall switches that function normally but I also want HA control of the lights even if the wall switch is turned off. There are some smart wall switches that could do this of course, but Iām ruling them out as I want to use Clipsal Iconic switches exclusively throughout the home, not mix-and-match different types of wall plates.
Iām considering these AU-approved products:
Aeotec or Fibaro Z-Wave switches/dimmers
Pros:
- Should work perfectly (on/off/dim) with Iconic push-button wall switches.
Cons:
- Most expensive option
- Would prefer zigbee or wifi to z-wave. (Open Z-Wave is not under active development.)
3A Smarthome Smart Controllers/dimmers (http://www.3asmarthome.com/products and ebay)
Pros:
- Reasonably priced (for AU).
- Works with generic zigbee gateways and HA.
Cons:
- Itās a simple in-line controller. When the wall switch is off, itās non-functional. And if the wall is on but the light has been switched off by software, to turn the light back on you switch off at the wall, count to about 3, and switch on again. (I tested this out in their store.) I could cope with this for some lights, but not most.
Oikotec supplied Sonoff Dual, flashed with Tasmota
Pros:
- Reasonably priced (for AU).
Cons:
- Although it can be powered continuously and the relay triggered by the wall switch, this isnāt a standard method of installation and an electrician probably wonāt agree to wiring it like this. (Correct me if Iām wrong.)
- In this case, it probably operates in a similar way to the 3A Smarthome controller.
- Plus, would flashing custom firmware void the AU certification? Would I be breaking AU law by doing this myself?
Clipsal Iconic (https://www.clipsal.com/iconic)
- This isnāt really an option at all for control with HA. They do have Bluetooth enabled mechs that you can control with a phone app, but Iām guessing thereās zero chance of ever getting that to work with HA.
- Maybe sometime in the future theyāll release a zigbee or z-wave mech. Hereās hoping.
If there are other products that fit the bill, please let me know. Iām leaning towards the z-wave controllers but they will quickly add up in price if used across most light circuits in the house.