FHEM Forum

FHEM - Hausautomations-Systeme => Sonstige Systeme => Thema gestartet von: Tobias am 03 Mai 2017, 09:21:13

Titel: Problem: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module
Beitrag von: Tobias am 03 Mai 2017, 09:21:13
Hi,
aus irgendeinem Grund hat mein Panstamp AVR1 eine ID=01. Ich bekomme es ums verrecken nicht hin, die ID zu ändern.
Per Autocreate wird das SWAP Device nicht angelegt. Lege ich es per Define von Hand mit ID 01 an, so steht zumindest der neue Name (anstatt nur 01) im Log, kann aber trotzdem keine reg-set Befehle hin senden, bzw sie werden nicht vom Panstamp angenommen,
Was nun?? JEmand eine Idee?

2017.05.03 09:09:30 5: MyPanstamp: 000100010001000000004C00000001 -71 50
2017.05.03 09:09:30 5: MyPanstamp: dispatch 000100010001000000004C00000001
2017.05.03 09:09:30 4: 01 -> broadcast (0,0-01): status 01 00:0000004C00000001
2017.05.03 09:09:30 1: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module maintainer
2017.05.03 09:09:30 5: panStamp/RAW: (06/31)0001000200010303
(0631
2017.05.03 09:09:30 5: MyPanstamp: 0001000200010303 -71 49
2017.05.03 09:09:30 5: MyPanstamp: dispatch 0001000200010303
2017.05.03 09:09:30 4: 01 -> broadcast (0,0-02): status 01 03:03
2017.05.03 09:09:30 1: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module maintainer
2017.05.03 09:09:30 5: panStamp/RAW: (0631/)0001000300010302

2017.05.03 09:09:30 5: MyPanstamp: 0001000300010302 -71 49
2017.05.03 09:09:30 5: MyPanstamp: dispatch 0001000300010302
2017.05.03 09:09:30 4: 01 -> broadcast (0,0-03): status 01 03:02
2017.05.03 09:09:30 1: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module maintainer


Edit: ein "eepromToFactoryDefaults();" im setup() des Sketch bracht nix :(
Titel: Antw:Problem: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module
Beitrag von: justme1968 am 03 Mai 2017, 19:01:43
hallo tobias,

an einen panstamp mit der id 01 kann der modem sketch nicht senden weil er selber die id 1 hat.

du kannst nach dem eepromToFactoryDefaults() noch eine zeile code einbauen und die adresse im eeprom überschreiben. dann damit flashen, booten und dann den normalen sketch wieder drauf.

gruss
  andre
Titel: Antw:Problem: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module
Beitrag von: Tobias am 07 Mai 2017, 11:47:17
hmm, ich versteh es nicht...
am Anfang des setup() habe ich mal folgendes im Panstamp-Soilmoisture sketch gesetzt und neu drauf geflashed:EEPROM.write(EEPROM_DEVICE_ADDR, 0xCC);
Die Adresse ändert sich aber nicht, bleibt bei 01...
Leider habe ich gerade keine Ahnung wo ich noch ansetzen könnte :(
Titel: Antw:Problem: ERROR: >01< returned by the SWAP ParseFn is invalid, notify the module
Beitrag von: justme1968 am 07 Mai 2017, 12:06:58
ja. genau so.

könnte es sein das das der panstamp einen defekt hat?

kannst du die adresse direkt nach dem setzen wieder auslesen und seriell ausgeben?