Thanks for this project and all the time in making this available for us.
I have few switches and some sensor that i am hooping to integrate in Home Assistant.
one is this one http://www.ebay.com.au/itm/Wireless-PIR-Infrared-IR-Motion-Auto-Sensor-Detector-Home-Security-Alarm-System-/401156569289?var=&hash=item5d66cb78c9:m:mA4IfQWJy4u95MF7EtGfXng
The problem i found is that it has only one play load one code there is no code sent for off just for on so i have no idea how to make it work in HA.
I had a look around in mqtt example but nothing worked if anyone can help or point me in the right direction will be grate.
Here’s my doorbell if you want to ring it if your in Seymour IN.
This is just one of my switches:
- platform: mqtt
Like your PIR, the doorbell doesn’t have an off. The retain: false lets this slide back into the off position after it is activated.
To do anything with this you will have to check out some automation… make a script for it to turn on a light when it gets turned on…
For some reason does not work for me i tried your configuration in binary sensors where it begin not triggered and when the code was sent it changed to on and remained on. In normal sensors different story it will start with the code on displayed and will remain there.
I changed the value of retain but no success.
@adifoto try this
this works for me
@1technophile. i guess i need to setup an automation to change the entity state to off after certain duration. This is what I come up with so far…
The binary sensor:
name: Motion Sensor 1
- alias: 'Off Timer - Motion Sensor 1'
Thanks for that.
Now all works fine. Should go and buy more sensors now.
´see this post:
1technophile created an arduino or Esp8266 gateway that can receive and transmit to 433 Mhz devices using MQTT with Home Assistant.
I want to create a forum topic that will highlight all the devices that this can control.
(EDIT: RCSwitch users and even MySensors 433 devices too!!)
Here is a google doc spreadsheet of all the devices we found compatible. Thanks
Oh and we are now moved to the new “Hardware Forum”!!)
I have 15 Etekcity switches, 3 driveway motion sensors, and a wi…
and if you buy a new sensors, inside this post, say us if works or not.
The Home Assistant sits on Raspberry PI so, is there a reason for implementing the 433toMQTTto433 on Arduino ?
I guess the 433 transmitter and receiver could be connected through Raspberry PI, am I right ?
Yes there is a reason,the separation of responsabilities between gateway and hub software. In particular if you want to keep at arduino level some basic and crucial functions like an alarm system.
Yes you could connect a 433 transmitter and receiver to the Pi, in my point of view not so easy than an arduino but can be done.
Could be done, but not everybody runs HASS on a Raspberry. I don’t for example
Yeah, I understand the basic/obvious reasons - simplicity/modularity (but on other hand - more hardware is needed).
Was curious, what THE Creator ( @1technophile ) had in mind
that’s an interesting point (I remember reading this somewhere on forum … or maybe on
@1technophile’s blog) :
For instance if my pi breakdown, or if I’m running a backup (happening every week during one hour) the security functions keep going on.
Where is this setting I am also getting same error while connecting but i cannot find the line to uncomment in OpenMQTTGateway.ino or User_config.h file. I am able to connect it via windows
if you want to set mqtt user name and password:
-uncomment line 32 of user_config.h and set your username
-set your password below
Below is my user_config.h do i have to add something else also
#define mqtt_server “192.168.0.211”
#define mqtt_user “xxx” // not compulsory only if your broker needs authentication
#define mqtt_password “xxx” // not compulsory only if your broker needs authentication
#define mqtt_port 1883
#define Gateway_Name “OpenMQTTGateway”
#define will_Topic “home/OpenMQTTGateway/LWT”
#define will_QoS 0
#define will_Retain true
#define will_Message “Offline”
#define Gateway_AnnouncementMsg “Online”
is your broker setup with authentification?
Yes i tried it from windows using mqtt.fx and i can connect to it
is your mqtt server secured by TLS?
No its not just username and pwd is used
when you said you tried from windows, is your broker on the same PC in windows, or is it a different pc?
i have configured it on rpi using home-assistant