mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Adds support for RF Bridge advanced codes (#1246)
* WIP: Advanced commands for portisch firmware * Fix string code sending * clang formatting * Add new rf_bridge functions to test * Add advanced code received trigger * Fix copy-paste mistake in the advanced sending * Fix log message to be consistent * clang * Remove extra +
This commit is contained in:
		| @@ -700,7 +700,7 @@ climate: | ||||
|       kp: 0.0 | ||||
|       ki: 0.0 | ||||
|       kd: 0.0 | ||||
|      | ||||
|  | ||||
|  | ||||
| cover: | ||||
|   - platform: endstop | ||||
| @@ -862,6 +862,22 @@ rf_bridge: | ||||
|         code: 0x123456 | ||||
|     - rf_bridge.learn | ||||
|  | ||||
|   on_advanced_code_received: | ||||
|     - lambda: |- | ||||
|         uint32_t test; | ||||
|         std::string test_code; | ||||
|         test = data.length; | ||||
|         test = data.protocol; | ||||
|         test_code = data.code; | ||||
|     - rf_bridge.start_advanced_sniffing | ||||
|     - rf_bridge.stop_advanced_sniffing | ||||
|     - rf_bridge.send_advanced_code: | ||||
|         length: 0x04 | ||||
|         protocol: 0x01 | ||||
|         code: 'ABC123' | ||||
|     - rf_bridge.send_raw: | ||||
|         raw: 'AAA5070008001000ABC12355' | ||||
|  | ||||
| display: | ||||
|   - platform: max7219digit | ||||
|     cs_pin: GPIO15 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user