Wireless output/JRM module project
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
I am currently working on a wireless output/JRM module
Intention is to make it fully compatible with PHC and OpenHC output/JRM modules, so the same commandset
This module is very simple and consists out of:
- an ESP8266 CPU with Wifi
- 2 or 4 pushbutton inputs
- 2 or 4 relay outputs
- a 220V-to-5V power module
Attached a prototype photo, on the right the 2 relays, on the left the 2 pushbuttons, in the middle the CPU. The USB cable is for programming and power during development. In the final version this will be replaced with a 220V-to-5V power module.
Still working on a PCB to put things together, but target is you can put it in an "unterputz dose" of about 60x60x50mm
This thing can work in standalone mode, just power it and done.
It can also connect to your wireless LAN, then control it via MQTT from OpenHab or from my MQTT client app. Maybe I can add a binary interface so it can be controlled with xWRC or the xphcextc tool, but this I need to work on.
How much is this costing... hmmm quite expensive, below figures from my current order:
- ESP8266 CPU -> 3,57 euro
- relay shield -> 1,70 euro
- power module -> 2,11 euro
Without PCB this comes to 9,08 euro
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Andreas
- Offline
- Platinum Boarder
- Beiträge: 270
- Dank erhalten: 56
this is great! I'm also experimenting with ESP8266 and Arduino to expand my OpenHAB installation. I already use MQTT for connecting some sensors (Wireless Temperatur and Humidity, Barometer) and my complete PHC system to OpenHAB. As MQTT is very simple and the integration into OpenHAB is working very good, this is a very good approach.
Unfortunately I have little idea about circuit design or PCB... So I would be glad to hear about your future work.
Andreas
PHC STM V2, EMD,AMD,JRM und DIM-Module, Wind, Regen und Sonnen-Sensor, Visualisierung mit OpenHAB
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
I find OpenHab is missing a pushbutton control, as this is the natural thing used in a domotic system, not a switch.
Tried the mappings with a switch, but a "Toggle" mapping seems to be translated internal in OpenHab to "on" and "off" depending on the state of the switch, which may not be what is actual in the PHC system.
Other mapping do not work, a pitty because I have more functions per input button and I want to keep the OpenHab representation equal with the real hw implementation per button.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- ansgar75
- Offline
- Expert Boarder
- Stay hungry, stay foolish! - Steve Jobs
- Beiträge: 111
- Dank erhalten: 14
this is very interesting as I currently use ESP8266 modules for some energy monitoring in my home (solar heating).
I'm also using a "Unterputz" module having 1 relay and 230V power supply onboard: ex-store.de/ESP8266-WiFi-Relay-V3
The price is also very interesting: 16,66 € per piece
Maybe you know that module already. Otherwise it will be helpful maybe also for the other users.
Kind regards
Peha PHC V3 seit 2017 (vorher V2 seit 2009) im Neubau - MCC - JRM - EMD - AMD - DIM - UIM - FUI - Module
IP-Symcon Smarthome Software auf Intel NUC mit Ubuntu 20.04LTS (Einbindung von PHC tlw. über Webinterface der V3)
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Andreas
- Offline
- Platinum Boarder
- Beiträge: 270
- Dank erhalten: 56
I don't imitate push buttons on my OpenHAB UI. Here I directly switch a light with a normal switch to the state I want.
This is working perfectly because the state of the switches are the state of the outputs.
I also use Rollershutter and Dimmer. The dimmer is also working perfectly with the slider. The Rollershutter is working nearly perfectly. Unfortunately we don't have the current position of a jalousie in PHC...
I have added a screenshot of an example of my living room.
PHC STM V2, EMD,AMD,JRM und DIM-Module, Wind, Regen und Sonnen-Sensor, Visualisierung mit OpenHAB
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
Yes I saw those, but I need 2 relays to drive rolladen... but nice product, I will take a look at it's specs and MQTT interworking.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
Also experimenting with OpenHab, but plan to have a look at Domoticz as wel. Just need some more time, about 30h per day would be fine
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Andreas
- Offline
- Platinum Boarder
- Beiträge: 270
- Dank erhalten: 56
if the day with 24 hours is too short, then take the night too.
I think this is the problem we all have together...
Andreas
PHC STM V2, EMD,AMD,JRM und DIM-Module, Wind, Regen und Sonnen-Sensor, Visualisierung mit OpenHAB
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Andreas
- Offline
- Platinum Boarder
- Beiträge: 270
- Dank erhalten: 56
I'm also using a "Unterputz" module having 1 relay and 230V power supply onboard: ex-store.de/ESP8266-WiFi-Relay-V3
Is the module stable? What about heat?
I think I need to order and test such a module.
Andreas
P.S. Habe gerade gesehen, dass Du aus Unterschneidheim auf der Ostalb bist. Abtsgmünd ist da nicht soo weit weg davon...
PHC STM V2, EMD,AMD,JRM und DIM-Module, Wind, Regen und Sonnen-Sensor, Visualisierung mit OpenHAB
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- ansgar75
- Offline
- Expert Boarder
- Stay hungry, stay foolish! - Steve Jobs
- Beiträge: 111
- Dank erhalten: 14
Heat should be not a big problem with that module. I'm currently using one in my garage door drive. Until now it works very well. I'm using the Arduino IDE to program my ESP modules.
Vielleicht sollten wir mal einen Ostalb PHC IoT Stammtisch gründen
Greetings
Ansgar
Peha PHC V3 seit 2017 (vorher V2 seit 2009) im Neubau - MCC - JRM - EMD - AMD - DIM - UIM - FUI - Module
IP-Symcon Smarthome Software auf Intel NUC mit Ubuntu 20.04LTS (Einbindung von PHC tlw. über Webinterface der V3)
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Andreas
- Offline
- Platinum Boarder
- Beiträge: 270
- Dank erhalten: 56
although I have an Easyclick 941-FU-C module (the only connected device is a window open contact) I'm searching for a module to control my good old Laserprinter. Because I don't print very often, it is normally switched off and I have to switch it on and off by hand every time I want to print something.
Now I'm searching for a cheap solution to control the socket of the Laserprinter with OpenHAB. An Easyclick adapter is very expensive and an IP powerbox also. What I especially need is to have a local push button or switch to control the socket locally without an app.
The ESP8266-WiFi-Relay-V3 seems to be the solution for that. It seems to have some inputs and a 230V relay.
Andreas
PHC STM V2, EMD,AMD,JRM und DIM-Module, Wind, Regen und Sonnen-Sensor, Visualisierung mit OpenHAB
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
After a colleague made a first non-SMD PCB it was time to make some corrections... It has been a while since I did this (about 20 yearsj) but it is fun putting it all together on a 50x50mm footprint.
Now waiting for components to arrive from China and then finalizing the PCB for the prototype, maybe we can go for an SMD layout but that would require 2 layers. Seeedstudio Fusion offers 10 PCB's for $9.90 but also takes 4 weeks or more to arrive
Just adding the current schematic and board designs for now.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
PCB layout complete, pushed everything in the 50x50mm space, hopefully we get a prototype during the weekend
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Andreas
- Offline
- Platinum Boarder
- Beiträge: 270
- Dank erhalten: 56
thanks for the status update.
Andreas
PHC STM V2, EMD,AMD,JRM und DIM-Module, Wind, Regen und Sonnen-Sensor, Visualisierung mit OpenHAB
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Autor
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
I placed the Wemos 8266 on the bottom together with the SMD components, the larger components are on the top side. The led is on the wrong side for now.
Also notice the blue 3D printed cover to protect against accidental contact with 220 volts.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Aktuelle Seite:
- Startseite
- Forum
- PHC-Forum
- PHC-Installation
- Wireless output/JRM module project