AC Power and/or Relay interface
-
@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.


-
@exilit also ITEAD has a warranty sticker that you need to break if you want to reflash the relay. Could be a good idea what you proposed, maybe you can start a kickstarter campaign :D
-
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.


@Brian-Morris Great project, looks good. But I think also not what I am looking for.
-
Np. I saw the "I am looking for a way to put an MySensors Relay actuator behind a wall switch." description. My project is a switch and relay in 1. Are you talking about just putting a MySensors node with a relay behind a working normal light switch?
-
Adding the imgur album. https://imgur.com/a/XNz79
-
Np. I saw the "I am looking for a way to put an MySensors Relay actuator behind a wall switch." description. My project is a switch and relay in 1. Are you talking about just putting a MySensors node with a relay behind a working normal light switch?
@Brian-Morris i Think wat i am really looking for is a tinkering-friendly Device that can deliver some low voltage power as well as a possibility to switch higher voltage devices.
The point is that - as far as I know - tinkering with low voltage is uncritical (with respect to assurances and power providers) but everything related to mains power needs to be certified and/or should only be installed by people qualified to do so. So what I would like to see is a device that can be controlled easily and at the same time is safe to use.
-
@Brian-Morris i Think wat i am really looking for is a tinkering-friendly Device that can deliver some low voltage power as well as a possibility to switch higher voltage devices.
The point is that - as far as I know - tinkering with low voltage is uncritical (with respect to assurances and power providers) but everything related to mains power needs to be certified and/or should only be installed by people qualified to do so. So what I would like to see is a device that can be controlled easily and at the same time is safe to use.
@exilit said in AC Power and/or Relay interface:
@Brian-Morris i Think wat i am really looking for is a tinkering-friendly Device that can deliver some low voltage power as well as a possibility to switch higher voltage devices.
The point is that - as far as I know - tinkering with low voltage is uncritical (with respect to assurances and power providers) but everything related to mains power needs to be certified and/or should only be installed by people qualified to do so. So what I would like to see is a device that can be controlled easily and at the same time is safe to use.
LV is a voltage above 110VAC or 50VDC, this is the critical test.
Below 110VAC or 50VDC it is ELV and does not require the mandatory testing.
For a device as suggested to be made, it would need to undergo testing, then further reporting and certification in many different world wide regions before it could be sold on the market.
It is a very expensive and time consuming effort (been there and done that)-I doubt that any money could be made on developing a device such as this (it's still a good idea, don't get me wrong, but I doubt it has a commercial application otherwise it would have been made.)
The least expensive way of controlling Line Voltages remotely that I would use is to use a Z-Wave device. Depending on the region you are located this will cost you between 40-maybe 85 local currency units. Use OpenHab as your controller software then you have control from your sensors and Z-wave control of your Power relays.
Problem solved. -
@exilit said in AC Power and/or Relay interface:
@Brian-Morris i Think wat i am really looking for is a tinkering-friendly Device that can deliver some low voltage power as well as a possibility to switch higher voltage devices.
The point is that - as far as I know - tinkering with low voltage is uncritical (with respect to assurances and power providers) but everything related to mains power needs to be certified and/or should only be installed by people qualified to do so. So what I would like to see is a device that can be controlled easily and at the same time is safe to use.
LV is a voltage above 110VAC or 50VDC, this is the critical test.
Below 110VAC or 50VDC it is ELV and does not require the mandatory testing.
For a device as suggested to be made, it would need to undergo testing, then further reporting and certification in many different world wide regions before it could be sold on the market.
It is a very expensive and time consuming effort (been there and done that)-I doubt that any money could be made on developing a device such as this (it's still a good idea, don't get me wrong, but I doubt it has a commercial application otherwise it would have been made.)
The least expensive way of controlling Line Voltages remotely that I would use is to use a Z-Wave device. Depending on the region you are located this will cost you between 40-maybe 85 local currency units. Use OpenHab as your controller software then you have control from your sensors and Z-wave control of your Power relays.
Problem solved.@Black-Cat Thank you for your input, I really appreciate it. Sounds like you have some experience with the whole topic of certification. Apart from being time consuming and expensive, do you think it would be possible to certify a device that allows to switch LV (Low Vortages?) by exposing an ELV (extra Low Vortage?) Interface?
Or does any Device interfering with the LV device have to be certified also? -
@Black-Cat Thank you for your input, I really appreciate it. Sounds like you have some experience with the whole topic of certification. Apart from being time consuming and expensive, do you think it would be possible to certify a device that allows to switch LV (Low Vortages?) by exposing an ELV (extra Low Vortage?) Interface?
Or does any Device interfering with the LV device have to be certified also?@exilit This will depend on the region for certification.
Where do I start?
Generally, most if not all devices will come with Test Reports for that region. i.e. The EU has an overall requirement, but there may be local variants that need to have an aspect of the device that needs a specific test report.
Once you have that report you can apply to a Certifying Authority for the issue of a Compliance Certificate (more cost). The Certifying Authority may (and usually does) find another aspect of the report that has not been covered, so occasionally you end up back to Step 1. Just as an example, the last Series of electricals I had certified took 18 months of back and forth communication between the Reporting Authority and the Compliance Company.
It burnt a huge hole into the budget, not only because of the cost, but also the delay in bringing products into the market.
There may also be different Equipment Levels, ie Level 1, 2 or 3. to contend with.
The device will have to comply with the requirements of these levels. In our region Level 1 is the most stringent and applies to all devices that the Consumer can come into direct contact, ie Switches and so forth. The level will determine the complexity of the reporting required. Devices that are designed to be installed by an Electrician in a switchboard and treated differently. (usually Level2)
You could argue that this device is for professional use and will be installed by a Qualified Electrician in a Electrical cabinet of some description, but it's really drawing a long bow when you manufacturer it yourself. On the other hand if you make it and use it yourself (don't tell anyone just in case it fries and burns the house down) then you have what you want.
Is your head aching yet? Mine did and still does at times, however I can sleep soundly at night knowing that we have taken all possible precautions and the devices are as safe as they can possibly be and if the issue lands in Court then I can waive the necessary paperwork to prove that we were not negligent.
To simply answer your question:
Any device that uses LV will require some type of Test Report and Certification if you intend to manufacture and supply these for sale.Just be using a signal or ELV to control LV does not offer a way around the requirement.
However as you can now probably see, it's just not that simple.
I hope this helps, it not complete but you need to do a look of research of the requirements relation to the Certifying of Electrical Equipment in your region and make the correct judgment. As a Start look up Standard IEC 60669 and all the parts that come with it as a generally primer. -
@exilit This will depend on the region for certification.
Where do I start?
Generally, most if not all devices will come with Test Reports for that region. i.e. The EU has an overall requirement, but there may be local variants that need to have an aspect of the device that needs a specific test report.
Once you have that report you can apply to a Certifying Authority for the issue of a Compliance Certificate (more cost). The Certifying Authority may (and usually does) find another aspect of the report that has not been covered, so occasionally you end up back to Step 1. Just as an example, the last Series of electricals I had certified took 18 months of back and forth communication between the Reporting Authority and the Compliance Company.
It burnt a huge hole into the budget, not only because of the cost, but also the delay in bringing products into the market.
There may also be different Equipment Levels, ie Level 1, 2 or 3. to contend with.
The device will have to comply with the requirements of these levels. In our region Level 1 is the most stringent and applies to all devices that the Consumer can come into direct contact, ie Switches and so forth. The level will determine the complexity of the reporting required. Devices that are designed to be installed by an Electrician in a switchboard and treated differently. (usually Level2)
You could argue that this device is for professional use and will be installed by a Qualified Electrician in a Electrical cabinet of some description, but it's really drawing a long bow when you manufacturer it yourself. On the other hand if you make it and use it yourself (don't tell anyone just in case it fries and burns the house down) then you have what you want.
Is your head aching yet? Mine did and still does at times, however I can sleep soundly at night knowing that we have taken all possible precautions and the devices are as safe as they can possibly be and if the issue lands in Court then I can waive the necessary paperwork to prove that we were not negligent.
To simply answer your question:
Any device that uses LV will require some type of Test Report and Certification if you intend to manufacture and supply these for sale.Just be using a signal or ELV to control LV does not offer a way around the requirement.
However as you can now probably see, it's just not that simple.
I hope this helps, it not complete but you need to do a look of research of the requirements relation to the Certifying of Electrical Equipment in your region and make the correct judgment. As a Start look up Standard IEC 60669 and all the parts that come with it as a generally primer.@Black-Cat Wow, thank you for all the information, that really sounds almost impossible.
I will definitely try to get some information regarding IEC 60669.So if I got you right there will be one test report in the end which will cover all the different tests required by the different certifying authorities.
There are two things I still not understand.-
Is it possible to certify a device so that it can be extended (through a defined interface) by self made hardware without loosing the certification?
-
What do you mean with the part about doing it myself? I think just not telling anybody would be difficult, as the assurance would like to know what caused the fire and therefore would do some research to find out. Or are you talking about the case when it is a Level 2 device and I only connect it myself?
I hope you understand what I mean. It's difficult for me to write down this part.
-
-
@Black-Cat Wow, thank you for all the information, that really sounds almost impossible.
I will definitely try to get some information regarding IEC 60669.So if I got you right there will be one test report in the end which will cover all the different tests required by the different certifying authorities.
There are two things I still not understand.-
Is it possible to certify a device so that it can be extended (through a defined interface) by self made hardware without loosing the certification?
-
What do you mean with the part about doing it myself? I think just not telling anybody would be difficult, as the assurance would like to know what caused the fire and therefore would do some research to find out. Or are you talking about the case when it is a Level 2 device and I only connect it myself?
I hope you understand what I mean. It's difficult for me to write down this part.
@exilit One test report should cover it. I say should as it is really up to the Certifying Body to determine it any further reports are necessary. These could be FCC (radio frequency reports), LVD, CISPAR or statements that report the use of certain products used in the manufacture and disposal of the PCB, Components, Solders etc.
Certifying is a very comprehensive process and I think that any advice I give you really is only an opinion as requirements will vary.
My feeling is that you should obtain professional advice from a Electronics Engineer who has all the answers to the questions you ask before proceeding any further.
In answer to your points, you should be able to obtain certification on a device that has an additional interface, however, the device that interfaces may also need certification or may already have it.
Doing it yourself I meant as a a DIY project, oddly if you offer it as such then there appears to be no obligation on your part to seek reporting or certifying advice.
Sell it as a kit and buyer beware. -