SatNav icon indicating copy to clipboard operation
SatNav copied to clipboard

Script Error on SatNav PB

Open smooreace opened this issue 2 years ago • 0 comments

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 image

smooreace avatar Mar 30 '22 20:03 smooreace

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

pesor avatar Sep 30 '21 15:09 pesor

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]

riddlecp avatar Sep 30 '21 15:09 riddlecp

I look into it, how does your sensors.yaml look like.

//Per

pesor avatar Sep 30 '21 16:09 pesor

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

riddlecp avatar Sep 30 '21 18:09 riddlecp