skysurf_hf

comandos terminal bash

Oct 5th, 2018
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. terminal:
  2.  
  3. /home/homeassistant/.homeassistant/script/./fuel.info.sh -f184685
  4.  
  5. já aparece no homeassistante os preços do combustivel! ou se eu correr no terminal:
  6.  
  7. curl -s -X POST -H 'x-ha-access: ’ -H ‘Content-Type: application/json’ -d ‘{“state”: “1.299”, “attributes”: {“unit_of_measurement”: “€”, “icon”: “mdi:gas-station”, “friendly_name”:“Gasoleo simples (JUMBO TORRES VEDRAS)”}}’ https://*****.duckdns.org/api/states/sensor.fuel_184685_Gasoleo_simples
  8.  
  9. também já publica no home assistant
Advertisement
Add Comment
Please, Sign In to add comment