About rf 433MHZ ring button:
Step 1. Buy a sonoff RF bridge
Step 2. Install ESPURNA FRIMWARE on it (
http://tinkerman.cat/hacking-sonoff-rf-bridge-433/ )
Step 3. Put Sonoff RF in Learning Mode, push the button on the IPCAM device.
Step .4 Save the learnig code in one of the swtich position
Now you have an MQTT mesage for pressing the button on the intercom and that message cant be interpreted in Openahb or HASS or Domoticz or other solution
If you have a Broadcom RF switch the learning button with change frequency mode, standard learnig doesnt work./
Tested and working on Sonoff RF, with broadcom i do just a a small experiment.
Now, i f u guys tell me how to make the modification in linux to run the scripts from riogrande75because if i do " vi /etc/init.d/rcS " command in the next reboot we will loose aditions code in the rcS file. I wish to undestand how can i run a script in case of reboot
what i discover so far:
1. Conect the device with USB UART ( conect only the RX/TX and GND pins)
2. Run putty , select serial . name you com number, select baud rate at 115200 and conect
if you connected in correct order RX,TX and GND you should see a console with running lines
3.Now write in console telnetd to enable telnet
4. Conect with putty in telnet mode port 23
5 Login as root
6 Press enter (do not entry any password )
and you sould see somthing like this
(none) login: root
Welcome to HiLinux.
#
and now you will cracked the box
My device is like user jumble , see page 3
i am not shure i understand the riogrande75 work, how hi can run a custom scritp on boot the device
And can somebody send to me riogrande75 mqtt scripts, thank you!
So, to enable telnet for remote acces you must do the following steps
1. Connect with UART to the device
2. Wait for booting to complete
3. write " telnetd " without quotes
4. open putty and set it to com conexion, choose your com number ( see in windows devices manager) set the baudrate to 115200, and conect to device with telnet trough LAN or WIFI
5. If you are succesufully you should see the awesome message " (none) login:" type root and enter and voila: "
Code: Select all
(none) login: root
Welcome to HiLinux.
#
6. run command
7. paste this code
escape and type :wq to write the file
8 run this command to move the original npc executables
9 run this command to move npc-script to npc
OBS: Now the npc is the bell app and run at every restart so we renamed with npc script to npc, adn move the original npc to npc-exe (thanks riogrande to this tip)
10 reboot the device and you should be able to telnet this toy without UART in you lan
11. If you want to disble WIFI interface put in npc script this line
adn save it again with :wq command
At this step you should be able to have full root acces with telnet and noe it is time to do some scripting:
What we should do: well Install a mqtt script to send message from button and maybe open the relay for door access and right now i dont know how to do that.
Thats it for now. If riogrande75 see my message , please send the mqtt file becouse the llink where you put it is expired and i cant PM for it, maybe because i dont have allot of post here. So please help if you like and THANKS RIOGRANDE75 for the multiple tips