Skip to content

andrexus/ghoma-http-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghoma-http-gateway

Control G-Homa plugs over HTTP.

Inspired by this project.

Home Assistant integration

switch:
  - name: ghoma_switch
    platform: rest
    resource: http:https://GATEWAY_ADDRESS:3000/ghoma/state/YOUR_PLUG_ID
    body_on: '{"on": true}'
    body_off: '{"on": false}'
    is_on_template: '{{ value_json.on }}'
    headers:
      Content-Type: application/json