AC Power and/or Relay interface
-
other solution would be, considering that there are thick cables in the walls to handle large currents, to run only low DC voltage instead of high AC voltage for the lighting, but it would require to use low voltage (12V DC) led lights everywhere. And this might be a problem, because there is very little bulbs operating on 12V DC axept of led strips and some halogen replacement bulbs.
-
@exilit said in AC Power and/or Relay interface:
like to run
from my personal experience: more You do yourself the cheaper unit price but You spent on it more time - so You have to calculate how much Your time costs.
The other issue with making something to fit into wall switch is that it has to be small, so this requires more custom design -> so more made by yourself -> then it won't be certified. Or You choose small but very expensive parts.
Personally I wouldn't buy cheap power supply, this is the most important part of the device.So if You have good knowledge how to design safe power supply just do this and don't worry about certification, If You design it well then it will not cause your home tu burn :)
@rozpruwacz said in AC Power and/or Relay interface:
If You design it well then it will not cause your home tu burn
:-) Yes you are most probably right. But if it does, I will not only lose my house, I will also be bankrupt and homeless.
But seriously: This is what I was thinking for some time also. Especially because I have seen In-Wall device that are way unsafer than the ones on this forum using the HLK. But for some reason I'm very unsure for the last few days...
So if there is another solution I think I still would like to take that. If not... well, I will do it myself and hope that my house does not burn. Maybe I put a CE sticker on it... :-D -
You wanted small device that is also certified and the smallest solution I know are Zwave devices. I don't think you can find a certified product running on atmega controller with mysensors and be also certified
-
@exilit said in AC Power and/or Relay interface:
Recom RAC03
oh, You are talking about this ?
https://www.digikey.com/product-detail/en/recom-power/RAC03-05SCR-277/945-1702-ND/3844914if so then yes this is exactly what I mean and actualy this item looks very good :) about the price I believe that maybe you could find something half the price but not less ...
@rozpruwacz said in AC Power and/or Relay interface:
@exilit said in AC Power and/or Relay interface:
Recom RAC03
oh, You are talking about this ?
https://www.digikey.com/product-detail/en/recom-power/RAC03-05SCR-277/945-1702-ND/3844914if so then yes this is exactly what I mean and actualy this item looks very good :) about the price I believe that maybe you could find something half the price but not less ...
Yes, that is what I was talking about. Half the price sounds good.
But to be honest, I think the one you posted suits it better. The Recom power supply's use cases seem to be the same as the HLK module. -
@rozpruwacz said in AC Power and/or Relay interface:
@exilit said in AC Power and/or Relay interface:
Recom RAC03
oh, You are talking about this ?
https://www.digikey.com/product-detail/en/recom-power/RAC03-05SCR-277/945-1702-ND/3844914if so then yes this is exactly what I mean and actualy this item looks very good :) about the price I believe that maybe you could find something half the price but not less ...
Yes, that is what I was talking about. Half the price sounds good.
But to be honest, I think the one you posted suits it better. The Recom power supply's use cases seem to be the same as the HLK module.@exilit the one i posted is much bigger and 12v, so You need buck converter. This makes it harder to fit atmega board, but maybe You will :). for sure there is more 12v flush mounted power supplies and they are cheaper because they are used for led lighting. The cheaper ones will propably draw more power, they will be powered 24/7 so it is important that they draw at lest less than 0.5W.
-
@gohan There is no problem. I like the devices very much, but I'd like to have something not WiFi based for that purpose.
Why Z-Wave? Do you know a Z-Wave device, that serves low voltage output and is externally controllable?
-
@Black-Cat Ideally 5V or 3.3V. But in the end it doesn't matter too much, as converting it down wouldn't be too difficult. Do you know something?
-
@Black-Cat Ideally 5V or 3.3V. But in the end it doesn't matter too much, as converting it down wouldn't be too difficult. Do you know something?
-
@exilit For Z-Wave control the only device I am aware of that uses those voltages is a Z-UNO. You would need to build your own controller but it's not difficult.
@Black-Cat I'm a little bit confused. This does not address my issue, does it?
-
@exilit For Z-Wave control the only device I am aware of that uses those voltages is a Z-UNO. You would need to build your own controller but it's not difficult.
-
@Black-Cat I'm a little bit confused. This does not address my issue, does it?
@gohan the smallest PS that I know of that is enclosed is 62.55128mm (LWH)
available in 3.3v, 5v DC
https://www.meanwellaustralia.com.au/products/rs-15
There should be local distributors in the required region.
If the OP can do without an enclosed PS then there are smaller such as
this step down shield.
https://www.blackcatcontrolsystems.com.au/Chargers-Power Supplies-Connectors/Transformers/AC-DC Supply-240vAC-5VDCThere are many different relay's on the market, googling will turn up something that fits the requirement.
Sorry about the Z-Wave confusion.
-
-
@gohan the smallest PS that I know of that is enclosed is 62.55128mm (LWH)
available in 3.3v, 5v DC
https://www.meanwellaustralia.com.au/products/rs-15
There should be local distributors in the required region.
If the OP can do without an enclosed PS then there are smaller such as
this step down shield.
https://www.blackcatcontrolsystems.com.au/Chargers-Power Supplies-Connectors/Transformers/AC-DC Supply-240vAC-5VDCThere are many different relay's on the market, googling will turn up something that fits the requirement.
Sorry about the Z-Wave confusion.
@Black-Cat said in AC Power and/or Relay interface:
If the OP can do without an enclosed PS
I can do, but I am specifically looking for something that simplifies (in a sense of "assurance-safety") the whole High Voltage side. The products posted by you are really nice, but unfortunately do not address my request. :-)
Like I said before, I am aware, that the product I am searching for might not yet exist. (wondering why :confused: ) But maybe somebody has seen something like that.
-
@Black-Cat said in AC Power and/or Relay interface:
If the OP can do without an enclosed PS
I can do, but I am specifically looking for something that simplifies (in a sense of "assurance-safety") the whole High Voltage side. The products posted by you are really nice, but unfortunately do not address my request. :-)
Like I said before, I am aware, that the product I am searching for might not yet exist. (wondering why :confused: ) But maybe somebody has seen something like that.
@exilit said in AC Power and/or Relay interface:
(wondering why )
I'd say because they don't want people mess with the product so they usually sell product with their own SW solution. It is like rooting a mobile phone, in case of problems you are out of warranty and in case something happens they are out of liability
-
@exilit said in AC Power and/or Relay interface:
(wondering why )
I'd say because they don't want people mess with the product so they usually sell product with their own SW solution. It is like rooting a mobile phone, in case of problems you are out of warranty and in case something happens they are out of liability
@gohan Well, for most companies you are probably right. But have a look at ITEAD with their Sonoff products... They are already quite open and also seem not to do a lot against people tinkering with it. They sell good products which are adoptable if needed/wanted. And people obviously like it and large communities originate from that which create even better products.
So I think there is a market for those products.That's what I mean, I'd like to see products where I don't have to void the warranty because I don't need to open it.
I imagine something like the following:

I think that would be awesome.
-
@gohan Well, for most companies you are probably right. But have a look at ITEAD with their Sonoff products... They are already quite open and also seem not to do a lot against people tinkering with it. They sell good products which are adoptable if needed/wanted. And people obviously like it and large communities originate from that which create even better products.
So I think there is a market for those products.That's what I mean, I'd like to see products where I don't have to void the warranty because I don't need to open it.
I imagine something like the following:

I think that would be awesome.
-
So I did this recently, I have two ESP8266 Wemos based switches and 2 MySensors based in production right now with more MySensors on the way. They encompass the following from AliExpress:
Arduino Pro Mini & NRF24L01
220/110V to 5V Transformer - https://www.aliexpress.com/item/Smart-Electronics-5V700mA-3-5W-Isolated-Switch-Power-Supply-Module-AC-DC-Buck-Step-down-Module/32529802796.html
WS2812B Single LED - https://www.aliexpress.com/item/10-100-pcs-WS2812B-LED-Individually-addressable-WS2811-IC-rgb-white-black-2812b-led-heatsink-10mm/32378187271.html
2 Small Tactile Buttons - https://www.aliexpress.com/item/100pcs-Tactile-Switch-Push-Button-Tactile-Pushbutton-4pin-DIP-6-6-10mm-for-LCD-Screen-Monitor/32693091694.html
Relay - https://www.aliexpress.com/item/Free-Shipping-10Pcs-5V-Low-Level-Trigger-One-1-Channel-Relay-Module-Interface-Board-Shield-for/32676400147.html
Dupont cables to make the switch and box separate. https://www.aliexpress.com/item/Free-shipping-Dupont-line-120pcs-20cm-male-to-male-male-to-female-and-female-to-female/32343840673.html3D Printed Switch and Rear Box
I created a switch and the box that goes in the wall in TinkerCAD. On the switch side, there is a little WS2812B led which i use to show states, and a little startup sequence to know its up and connected to the MySensors gateway. There are two buttons both behind the switch, one is pressed by the switch itself, the other is a reset switch which connects ground to the reset pin. This is in case it needs to be reset or something. I did this 2 piece approach for being able to take off the wallplate, pull out the switch, connect up the FTDI adapter and upload new code in the case of the MySensors nodes. For the ESP8266, those are OTA.
I am printing the latest version of the box and switch now, I will upload pics when they are done.
Here is the one in my garage, white means light is off (so you can find it in the dark), green is on. There is a red light coming from behind the switch which is the relay light, I dont care much in the garage so you can see it. On the inside ones, I used a small piece of heat shrink to cover it. Also, the pictures just do not do it justice at all, the light blurs out the camera and you cannot see the switch very well nor the power icon behind the LED.

