Probleme Sketch auf einen Panstamp zu bekommen (programmer not responding)

Begonnen von Ich79, 17 Januar 2015, 16:08:03

Vorheriges Thema - Nächstes Thema

Markus

Danke das hätte mir auch einfallen können  :-[
Ich hab jetzt alle Dateien per Hand Kopiert (Installer hat etwas Vergessen...)
Jetzt schaut es besser aus ... die panstamps sind vorhanden  ;D
jetzt muss ich nur noch die richtige Datei für die vegatronix sensoren suchen und draufspielen
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Markus

Ok ich hab jetzt die soilmoisture Datei runtergeladen aber bekomme beim compiliren folgenden Fehler
anscheinend fehlt mir die Datei register.h
wo finde ich die jetzt wieder? :-[

http://sourceforge.net/p/fhem/code/HEAD/tree/trunk/fhem/contrib/arduino/35_SWAP-soilmoisture.tar.gz

Arduino: 1.5.8 (Windows 8), Board: "panStamp AVR w/ atmega328p"

In file included from soilmoisture.ino:42:0:
regtable.h:31:22: fatal error: register.h: No such file or directory
#include "register.h"
                      ^
compilation terminated.
Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Ich79

Die sollte eigentlich im libraries Ordner sein. Wenn du aus dem Patch die libraries kopiert hast, dann liegt die hier:
c:\Program Files (x86)\Arduino\libraries\swap\register.h

das Original hier:
c:\Program Files (x86)\Arduino\arduino-1.5_patch\libraries\swap\register.h

Fritz!Box 7490 mit FHEM 5.6 und HM-CFG-USB-2 (hmland)
AVM: 1x Fritz!Powerline546E
HM: 6x HM-CC-RT-DN / 2x HM-Sec-RHS / 1x HM-WDS40-TH-I-2 / 2x HM-Sec-SC-2 / 1x HM-LC-Sw4-Ba-PCB

Markus

Danke

Ja die Datei ist schon vorhanden aber warum kommt dann diese Fehlermeldung?
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Markus

hab jetzt denn Rechner neu gestartet aber jetzt habe ich ein anderes Problem...

Arduino: 1.5.8 (Windows 8), Board: "panStamp AVR w/ atmega328p"

soilmoisture.ino: In function 'void syncState()':
soilmoisture.ino:67:12: error: 'class PANSTAMP' has no member named 'enterSystemState'
soilmoisture.ino:78:13: error: 'class PANSTAMP' has no member named 'enterSystemState'
soilmoisture.ino: In function 'void setup()':
soilmoisture.ino:115:31: error: 'getRegister' was not declared in this scope
soilmoisture.ino: In function 'void loop()':
soilmoisture.ino:131:26: error: 'getRegister' was not declared in this scope
soilmoisture.ino:140:12: error: 'class PANSTAMP' has no member named 'goToSleep'
soilmoisture.ino:141:29: error: 'class PANSTAMP' has no member named 'txInterval'
soilmoisture.ino:141:59: error: 'class PANSTAMP' has no member named 'txInterval'
Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Bennemannc

Hallo,

hast Du auch die Panstamps Bibliotheken richtig installiert ?

Gruß Christoph
Cubietruck, Fhem 5.8
CC-RT-DN|LC-SW2-FM|RC-12|RC-19|LC-SW4-BA-PCB|LCp-SW1-BA-PCB|ES-PMSw1-Pl|LC-Bl1PBU-FM|PBI-4-FM|CC-VD|CC-TC|SEC-SC(2)|RC-KEY3-B|LC-Sw1PBU-FM|PB-2-FM|WDS100-C6-O|WDC7000|LC-Bl1-FM
Module: Dewpoint,FB_Callmonitor,HCS,Panstamp,at,notify,THRESHOLD,average,DOIF

Markus

meinst du die panStamp_apps.zip von hier http://www.panstamp.com/downloads/
die hab ich ins verzeichnis arduino/app
reinkopiert
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Ich79

Kann es sein, dass das die Veränderungen sind, die hier genannt sind:
https://github.com/panStamp/panstamp/wiki/First-steps#differences-between-current-and-old-panstamp-apis

Dann wäre der Sketch recht alt und müsste angepasst werden
Viele Grüße
Boris
Fritz!Box 7490 mit FHEM 5.6 und HM-CFG-USB-2 (hmland)
AVM: 1x Fritz!Powerline546E
HM: 6x HM-CC-RT-DN / 2x HM-Sec-RHS / 1x HM-WDS40-TH-I-2 / 2x HM-Sec-SC-2 / 1x HM-LC-Sw4-Ba-PCB

Markus

Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Bennemannc

Hallo,

mir ist aufgefallen, das Du die Frage von André noch nicht beantwortet hast. Wechen Panstamp hast Du denn AVR (alte Generation) oder NGR ?

Gruß Christoph
Cubietruck, Fhem 5.8
CC-RT-DN|LC-SW2-FM|RC-12|RC-19|LC-SW4-BA-PCB|LCp-SW1-BA-PCB|ES-PMSw1-Pl|LC-Bl1PBU-FM|PBI-4-FM|CC-VD|CC-TC|SEC-SC(2)|RC-KEY3-B|LC-Sw1PBU-FM|PB-2-FM|WDS100-C6-O|WDC7000|LC-Bl1-FM
Module: Dewpoint,FB_Callmonitor,HCS,Panstamp,at,notify,THRESHOLD,average,DOIF

Ich79

Die Frage war damals an mich gerichtet. Ich habe die AVR Version. Aber ich vermute mein PanStick ist hinüber. Ich habe mir einen "anderen" USB/TTL Adapter beim Chinamann bestellt. Sobald der da ist, versuche ich es damit mal.
Daher bin ich selbst noch nicht mal so weit wie Markus ;) Allerdings weiss ich nicht ob er die AVR oder NRG Version hat. Wollte da nur helfen.

VG!
Boris
Fritz!Box 7490 mit FHEM 5.6 und HM-CFG-USB-2 (hmland)
AVM: 1x Fritz!Powerline546E
HM: 6x HM-CC-RT-DN / 2x HM-Sec-RHS / 1x HM-WDS40-TH-I-2 / 2x HM-Sec-SC-2 / 1x HM-LC-Sw4-Ba-PCB

Markus

Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Bennemannc

Hallo,

ich habe mit dem neuen Stick und den AVR auch Probleme. Ich bin aber noch nicht dazu gekommen, diese auszusortieren. Ich habe noch einen alten Stick - bei Gelegenheit werde ich den mal probieren.

Gruß Christoph
Cubietruck, Fhem 5.8
CC-RT-DN|LC-SW2-FM|RC-12|RC-19|LC-SW4-BA-PCB|LCp-SW1-BA-PCB|ES-PMSw1-Pl|LC-Bl1PBU-FM|PBI-4-FM|CC-VD|CC-TC|SEC-SC(2)|RC-KEY3-B|LC-Sw1PBU-FM|PB-2-FM|WDS100-C6-O|WDC7000|LC-Bl1-FM
Module: Dewpoint,FB_Callmonitor,HCS,Panstamp,at,notify,THRESHOLD,average,DOIF

Markus

Christoph ich habe nur die von der sammelbestellung von Rince, da warst du doch auch dabei
Raspberry Pi2 als FHEM-Plattform
HM, FS20, 1-Wire, PanStamp,LW12,Intertechno,ESPEasy,Alexa

Bennemannc

Hallo Markus,

das ja - und mit denen habe ich auch Probleme. Aber ich hatte vorher schon zwei Panstamp mit PanStick und Batterieboard im Betrieb, und die laufen zuverlässig. Daher kann ich das mal mit dem "alten" Stick ausprobieren.

Gruß Christoph
Cubietruck, Fhem 5.8
CC-RT-DN|LC-SW2-FM|RC-12|RC-19|LC-SW4-BA-PCB|LCp-SW1-BA-PCB|ES-PMSw1-Pl|LC-Bl1PBU-FM|PBI-4-FM|CC-VD|CC-TC|SEC-SC(2)|RC-KEY3-B|LC-Sw1PBU-FM|PB-2-FM|WDS100-C6-O|WDC7000|LC-Bl1-FM
Module: Dewpoint,FB_Callmonitor,HCS,Panstamp,at,notify,THRESHOLD,average,DOIF