pete_c
Guru
Got the HA WGLw800 integration sort of working even though it doesn't show up in integrations.
Here is what I did.
1 - validate ttyUSB port connectivity to W800.
2 - configuration.yaml file adds:
	
	
	
		
3 - copied all of the components
	
	
		
			
				
					
						 
					
				
			
			
				
					
						
							 github.com
				
			
		
	
to config/custom_components/w800rf32
						
					
					github.com
				
			
		
	
to config/custom_components/w800rf32
4 - edited the manifest.json file to read:
	
	
	
		
5 - restarted HA and looked at logs and see:
	
	
	
		
6 - created two automations event to trigger an Alexa TTS.
For A1 On...
	
	
	
		
For A1 off
	
	
	
		
The above sticks on a restart and reboot.
				
			Here is what I did.
1 - validate ttyUSB port connectivity to W800.
2 - configuration.yaml file adds:
		Code:
	
	logger:
  default: info
  logs:
    custom_components.w800rf32: debug
w800rf32:
  device: /dev/ttyUSB1
binary_sensor:
  - platform: w800rf32
    devices:
      a1:
        name: chimecore/homeassistant/components/w800rf32 at dev · home-assistant/core
:house_with_garden: Open source home automation that puts local control and privacy first. - home-assistant/core
				4 - edited the manifest.json file to read:
		Code:
	
	{
  "domain": "w800rf32",
  "name": "WGL Designs W800RF32",
  "codeowners": [],
  "documentation": "https://www.home-assistant.io/integrations/w800rf32",
  "integration_type": "hub",
  "iot_class": "local_push",
  "loggers": ["W800rf32"],
  "requirements": ["voluptuous==0.13.1","pyserial==3.5","pyW800rf32==0.3,"],
  "version": "4.6.5"
}5 - restarted HA and looked at logs and see:
		Code:
	
	2023-09-27 13:37:05.498 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration w800rf32 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-09-27 13:37:18.500 INFO (MainThread) [homeassistant.setup] Setup of domain w800rf32 took 0.1 seconds
2023-09-27 13:37:18.695 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] Add chime w800rf32.binary_sensor (class None)
pressing on and off on Palmpad
2023-09-27 13:38:23.695 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:23.696 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:38:23.816 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:23.816 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:38:23.936 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:23.936 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:38:24.055 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:24.056 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:38:24.176 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:24.176 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:38:24.294 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:24.295 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:38:24.416 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:38:24.417 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command On ...)
2023-09-27 13:39:29.379 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:29.380 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:29.499 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:29.500 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:29.618 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:29.618 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:29.738 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:29.739 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:29.858 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:29.858 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:29.978 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:29.979 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:30.099 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:30.099 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:30.218 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:30.219 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)
2023-09-27 13:39:30.339 DEBUG (Thread-2 (_connect)) [custom_components.w800rf32] Receive W800rf32 event in handle_receive
2023-09-27 13:39:30.339 DEBUG (MainThread) [custom_components.w800rf32.binary_sensor] BinarySensor update (Device ID: A1 Command Off ...)6 - created two automations event to trigger an Alexa TTS.
For A1 On...
		Code:
	
	alias: WGL-W800 A1 Chime ON
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.chime
    to: "on"
condition: []
action:
  - service: notify.alexa_media_pete_s_echo_show_8_2nd_gen
    data:
      message: A1 is on.
      data:
        type: tts
mode: singleFor A1 off
		Code:
	
	alias: WGL-W800 A1 Chime Off
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.chime
    to: "off"
condition: []
action:
  - service: notify.alexa_media_pete_s_echo_show_8_2nd_gen
    data:
      message: A1 is off.
      data:
        type: tts
mode: singleThe above sticks on a restart and reboot.
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
	 
 
		 
 
		 
 
		