HM-ES-PMSw1-Pl Funk-Schaltaktor

Entwicklung und Bau von Hardware aller Art, die im HM-Umfeld eingesetzt werden kann

Moderator: Co-Administratoren

jp112sdl
Beiträge: 3178
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 21 Mal
Danksagung erhalten: 45 Mal
Kontaktdaten:

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von jp112sdl » 11.10.2018, 11:26

Hi,

was du suchst ist das hier: viewtopic.php?f=76&t=44258 ?

VG,
Jérôme

stan23
Beiträge: 615
Registriert: 13.12.2016, 21:14
Wohnort: Altmühltal
Hat sich bedankt: 32 Mal
Danksagung erhalten: 15 Mal
Kontaktdaten:

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von stan23 » 11.10.2018, 12:00

Ist ja auch fies wenn die gleichen Personen in verschiedenen Foren unterschiedlich heißen, und dann nicht mal ihren Namen auf der Platine vermerken ;) ;)
Viele Grüße
Marco

RaspberryMatic
~60 Geräte (HM, HmIP, HMW, HBW, AskSin)

jp112sdl
Beiträge: 3178
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 21 Mal
Danksagung erhalten: 45 Mal
Kontaktdaten:

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von jp112sdl » 11.10.2018, 12:05

stan23 hat geschrieben:
11.10.2018, 12:00
Ist ja auch fies wenn die gleichen Personen in verschiedenen Foren unterschiedlich heißen, und dann nicht mal ihren Namen auf der Platine vermerken ;) ;)
Ich bin dem Link zum Forum gar nicht erst gefolgt, als ich was von "Raspberry-..." las.
Hab nun aber mal reingeschaut. Und da wird ja sogar auf den richtigen Sketch verlinkt.
jensmatic hat geschrieben:
11.10.2018, 11:23
Kannst du evtl. diese Variante in die Beispielbibliothek mit aufnehmen ?
... ist ja schon mit drin. 8)

VG,
Jérôme

jensmatic
Beiträge: 25
Registriert: 15.03.2017, 22:26

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von jensmatic » 11.10.2018, 13:57

ja sorry auch gerade entdeckt, alles schon da. Danke.

m.z84
Beiträge: 3
Registriert: 22.10.2018, 18:02

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von m.z84 » 22.10.2018, 18:55

Hallo ich bin neu hier im Forum lese aber schon länger sehr interessiert mit. Mein Name ist Marc und ich bin gelernter Elektriker. Vor allem der Nachbau von den Homematic Sensoren/Aktoren begeistert mich. Einige habe ich dank eurer tollen Anleitungen schon umgesetzt und sie laufen problemlos. Momentan versuche ich mich am Nachbau des HM-ES-PMSw1-Pl , mein Problem ist nur, dass ich leider nicht sehr viel vom Programmieren verstehe und ich immer eine Fehlermeldung beim Kompilieren des Sketchs bekomme. Wenn mir da jemand weiterhelfen könnte, wäre ich sehr dankbar. Bitte nicht lachen wenn ich jetzt die Fehlermeldung poste, ist bestimmt was total offensichtliches was da angepasst werden muss aber für mich sind das nur Hieroglyphen.

In file included from C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Switch.h:10:0,

from C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:19:

sketch_oct22b:102:37: error: 'CREG_AVERAGING' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

sketch_oct22b:102:71: error: 'CREG_TX_THRESHOLD_POWER' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

sketch_oct22b:102:96: error: 'CREG_TX_THRESHOLD_CURRENT' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

sketch_oct22b:102:123: error: 'CREG_TX_THRESHOLD_VOLTAGE' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

sketch_oct22b:102:150: error: 'CREG_TX_THRESHOLD_FREQUENCY' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

sketch_oct22b:102:37: error: 'CREG_AVERAGING' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:102:71: error: 'CREG_TX_THRESHOLD_POWER' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:102:96: error: 'CREG_TX_THRESHOLD_CURRENT' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:102:123: error: 'CREG_TX_THRESHOLD_VOLTAGE' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:102:150: error: 'CREG_TX_THRESHOLD_FREQUENCY' was not declared in this scope

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In static member function 'static uint8_t MReg1::getOffset(uint8_t)':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:262:80: error: '__MReg1Register__' was not declared in this scope

static uint8_t getOffset(uint8_t reg) { return AskSinRegister::getOffset(reg,__##rgname##Register__,sizeof(__##rgname##Register__)); } \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In static member function 'static uint8_t MReg1::getRegister(uint8_t)':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:263:90: error: '__MReg1Register__' was not declared in this scope

static uint8_t getRegister(uint8_t offset) { return AskSinRegister::getRegister(offset,__##rgname##Register__,sizeof(__##rgname##Register__)); } \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In static member function 'static uint8_t MReg1::getSize()':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:264:45: error: '__MReg1Register__' was not declared in this scope

static uint8_t getSize () { return sizeof(__##rgname##Register__); } \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:102:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(MReg1, CREG_AES_ACTIVE, CREG_AVERAGING, CREG_TX_MINDELAY, CREG_TX_THRESHOLD_POWER, CREG_TX_THRESHOLD_CURRENT, CREG_TX_THRESHOLD_VOLTAGE, CREG_TX_THRESHOLD_FREQUENCY)

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In member function 'void MeasureList1::defaults()':

sketch_oct22b:109:29: error: 'txThresholdPower' was not declared in this scope

txThresholdPower(10000);

^

sketch_oct22b:110:29: error: 'txThresholdCurrent' was not declared in this scope

txThresholdCurrent(100);

^

sketch_oct22b:111:29: error: 'txThresholdVoltage' was not declared in this scope

txThresholdVoltage(100);

^

sketch_oct22b:112:31: error: 'txThresholdFrequency' was not declared in this scope

txThresholdFrequency(100);

^

sketch_oct22b:113:18: error: 'averaging' cannot be used as a function

averaging(1);

^

In file included from C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Switch.h:10:0,

from C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:19:

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: At global scope:

sketch_oct22b:117:79: error: 'CREG_COND_TX_THRESHOLD_HI' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

sketch_oct22b:117:106: error: 'CREG_COND_TX_THRESHOLD_LO' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

sketch_oct22b:117:133: error: 'CREG_COND_TX' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

sketch_oct22b:117:147: error: 'CREG_COND_TX_DECISION_ABOVE' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

sketch_oct22b:117:176: error: 'CREG_COND_TX_DECISION_BELOW' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:258:39: note: in definition of macro 'NUMARGS'

#define NUMARGS(...) (sizeof((int[]){__VA_ARGS__})/sizeof(int))

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

sketch_oct22b:117:79: error: 'CREG_COND_TX_THRESHOLD_HI' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:117:106: error: 'CREG_COND_TX_THRESHOLD_LO' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:117:133: error: 'CREG_COND_TX' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:117:147: error: 'CREG_COND_TX_DECISION_ABOVE' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

sketch_oct22b:117:176: error: 'CREG_COND_TX_DECISION_BELOW' was not declared in this scope

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:260:103: note: in definition of macro 'DEFREGISTER'

#define DEFREGISTER(rgname,...) const uint8_t __##rgname##Register__[NUMARGS(__VA_ARGS__)] PROGMEM = {__VA_ARGS__}; \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In static member function 'static uint8_t SensorReg1::getOffset(uint8_t)':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:262:80: error: '__SensorReg1Register__' was not declared in this scope

static uint8_t getOffset(uint8_t reg) { return AskSinRegister::getOffset(reg,__##rgname##Register__,sizeof(__##rgname##Register__)); } \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In static member function 'static uint8_t SensorReg1::getRegister(uint8_t)':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:263:90: error: '__SensorReg1Register__' was not declared in this scope

static uint8_t getRegister(uint8_t offset) { return AskSinRegister::getRegister(offset,__##rgname##Register__,sizeof(__##rgname##Register__)); } \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In static member function 'static uint8_t SensorReg1::getSize()':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Register.h:264:45: error: '__SensorReg1Register__' was not declared in this scope

static uint8_t getSize () { return sizeof(__##rgname##Register__); } \

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:117:1: note: in expansion of macro 'DEFREGISTER'

DEFREGISTER(SensorReg1, CREG_AES_ACTIVE, CREG_LEDONTIME, CREG_TRANSMITTRYMAX, CREG_COND_TX_THRESHOLD_HI, CREG_COND_TX_THRESHOLD_LO, CREG_COND_TX, CREG_COND_TX_DECISION_ABOVE, CREG_COND_TX_DECISION_BELOW)

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In member function 'void SensorList1::defaults()':

sketch_oct22b:124:30: error: 'condTxDecisionAbove' was not declared in this scope

condTxDecisionAbove(200);

^

sketch_oct22b:125:28: error: 'condTxDecisionBelow' was not declared in this scope

condTxDecisionBelow(0);

^

sketch_oct22b:126:26: error: 'condTxFalling' was not declared in this scope

condTxFalling(false);

^

sketch_oct22b:127:25: error: 'condTxRising' was not declared in this scope

condTxRising(false);

^

sketch_oct22b:128:30: error: 'condTxCyclicBelow' was not declared in this scope

condTxCyclicBelow(false);

^

sketch_oct22b:129:30: error: 'condTxCyclicAbove' was not declared in this scope

condTxCyclicAbove(false);

^

sketch_oct22b:130:26: error: 'condTxThresholdHi' was not declared in this scope

condTxThresholdHi(0);

^

sketch_oct22b:131:26: error: 'condTxThresholdLo' was not declared in this scope

condTxThresholdLo(0);

^

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino: In member function 'void PowerMeterChannel::configChanged()':

sketch_oct22b:211:47: error: 'class MeasureList1' has no member named 'txThresholdPower'

txThresholdPower = this->getList1().txThresholdPower(); // 1.00 W = 100

^

sketch_oct22b:212:47: error: 'class MeasureList1' has no member named 'txThresholdCurrent'

txThresholdCurrent = this->getList1().txThresholdCurrent(); // 1 mA = 1

^

sketch_oct22b:213:47: error: 'class MeasureList1' has no member named 'txThresholdVoltage'

txThresholdVoltage = this->getList1().txThresholdVoltage(); // 10.0V = 100

^

sketch_oct22b:214:47: error: 'class MeasureList1' has no member named 'txThresholdFrequency'

txThresholdFrequency = this->getList1().txThresholdFrequency(); // 1 Hz = 100

^

sketch_oct22b:216:47: error: 'class MeasureList1' has no member named 'averaging'

averaging = this->getList1().averaging();

^

In file included from C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/AskSinPP.h:45:0,

from C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:16:

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Button.h: In instantiation of 'void as::ConfigToggleButton<DEVTYPE, OFFSTATE, ONSTATE, MODE>::state(uint8_t) [with DEVTYPE = MixDevice; unsigned char OFFSTATE = 1u; unsigned char ONSTATE = 0u; unsigned char MODE = 2u; uint8_t = unsigned char]':

C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:487:1: required from here

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Button.h:219:9: error: 'class as::VirtBaseChannel<as::AskSin<as::StatusLed<4u>, as::NoBattery, as::Radio<as::AvrSPI<10u, 11u, 12u, 13u>, 2u> >, PMSw1List0>' has no member named 'toggleState'

device.channel(1).toggleState();

^

exit status 1
'CREG_AVERAGING' was not declared in this scope
^

stan23
Beiträge: 615
Registriert: 13.12.2016, 21:14
Wohnort: Altmühltal
Hat sich bedankt: 32 Mal
Danksagung erhalten: 15 Mal
Kontaktdaten:

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von stan23 » 22.10.2018, 19:47

Hi Marc,

hast du die AskSin Lib aus dem Master Branch genommen?

Und mach doch bitte code-Tags um die Fehlermeldung.
Viele Grüße
Marco

RaspberryMatic
~60 Geräte (HM, HmIP, HMW, HBW, AskSin)

m.z84
Beiträge: 3
Registriert: 22.10.2018, 18:02

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von m.z84 » 22.10.2018, 20:26

Nein hatte wohl eine andere. Habe sie jetzt ausgetauscht. Aber jetzt kommt diese Fehlermeldung. Vielen dank schonmal für die schnelle Antwort.

Code: Alles auswählen

Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"

In file included from C:\Users\MarcMaya\Documents\Arduino\sketch_oct22b\sketch_oct22b.ino:15:0:

C:\Users\MarcMaya\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:22:125: note: #pragma message: NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***

 #pragma message("NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***")

                                                                                                                             ^

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Channel.h: In member function 'inhibit':

C:\Users\MarcMaya\Documents\Arduino\libraries\AskSinPP-master/Channel.h:316:56: internal compiler error: Segmentation fault

   virtual bool inhibit () const { return ch.inhibit(); }

                                                        ^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.15.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/program files/windowsapps/arduinollc.arduinoide_1.8.15.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Fehler beim Kompilieren für das Board Arduino Pro or Pro Mini.

Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.

jp112sdl
Beiträge: 3178
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 21 Mal
Danksagung erhalten: 45 Mal
Kontaktdaten:

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von jp112sdl » 22.10.2018, 21:59

Kannst du es mal mit einer älteren Arduino IDE Version versuchen? 1.8.5 oder auch noch älter.

VG,
Jérôme

m.z84
Beiträge: 3
Registriert: 22.10.2018, 18:02

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von m.z84 » 23.10.2018, 16:38

Vielen dank ihr seid echt super mit der 1.8.5 Version funktioniert es :D Da wird sich meine Frau aber freuen wenn sie demnächst eine Nachricht aufs Handy bekommt wenn die Waschmaschine im Keller fertig ist :D

Benutzeravatar
WRadebeul
Beiträge: 59
Registriert: 29.01.2018, 13:53

Re: HM-ES-PMSw1-Pl Funk-Schaltaktor

Beitrag von WRadebeul » 03.11.2018, 10:44

Hallo Jerome,
der POW verwendet ja bekanntermaßen verschiedene Messchips. Ich meine, Du hast einmal
angegeben mit welchen Dein AskSinPP Umbau funktioniert. Ich kann das aber nicht mehr finden.
Welcher Chip auf dem POW ist überhaupt der Messchip ?
Gruß
Raspberry, CUL 868, NeoCreator

Antworten

Zurück zu „Hardwareentwicklung und Selbstbau von Aktoren und Sensoren“