Skip to content

albertogomcas/weatherema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weatherema

Control warema awning based on weather conditions

Requirements

The RF control needs aircontrol https://github.com/rfkd/aircontrol

The web interface is developed in bottle https://bottlepy.org

The weather information is retrieved using pyowm https://github.com/csparpa/pyowm

Sniffing RF codes

Build aircontrol in a raspberry pi/2/zero. Connect a RF receiver to it. Beware typically the VCC is 5V but the pi GPIOs expect 3.3V, use a voltage divider or a logic-level translator between the DATA pin of the receiver and the raspberry.

execute aircontrol -g GPIO_PIN -s 1000 > button_1.scn and at the same time press the button in the remote

Open the .scn in a text editor and interpret the code. Warema uses Manchester encoding. Look for the first long "high" (S) and start from there. The codes where in my case

  UP: S01100001111111 S001011110 S011100011 S
DOWN: S01100001111110 S001011110 S011100011 S

If you get one of UP/DOWN working you may try just flipping the 1-0 of the first part and skip the decoding of the other.

About

Control warema awning based on weather conditions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages