SatNav
SatNav copied to clipboard
Script Error on SatNav PB
Ive verified/repeated several times that my linking is correct and done in the correct order. The error appears to be related to a linking error though. Any help would be appreciated
I Think there May be an error in your sensors.yaml file.
Note! You Got to have the first 4 Lines.
It should look something like this.
info: This file contains the MAC_ID of the sensors already registred for Autodiscover info: You can reinitiate Autodiscover for a single MAC_ID, by removing it from the list, or you can initiate a full renewal of sensors to Autodiscover, info: By removing all MAC_IDs below these comments lines info: DO NOT REMOVE THESE FOUR INFO LINES. mac_id: fcf5c40cf8f4 name: Padron_1 mac_id: 246f28b21590 name: Cattleya mac_id: fcf5c40d4ff4 name: Datura_Gul
//Per
This doesn't really make any sense to me, but it worked - change the line
line_mac_id = line_mac_id_arr[1]
to
line_mac_id = line_mac_id_arr[0]
I look into it, how does your sensors.yaml look like.
//Per
after changing that index value, it created fine apparently:
# cat sensors.yaml
info: This file contains the MAC_ID of the sensors already registred for Autodiscover
info: You can reinitiate Autodiscover for a single MAC_ID, by removing it from the list, or you can initiate a full renewal of sensors to Autodiscover,
info: By removing all MAC_IDs below these comments lines
info: DO NOT REMOVE THESE FOUR INFO LINES.
mac_id: fcf5c40cfb10
name: driveway_lawn