Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

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

Moderator: Co-Administratoren

papa
Beiträge: 705
Registriert: 22.05.2018, 10:23
Hat sich bedankt: 24 Mal
Danksagung erhalten: 120 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von papa » 24.09.2019, 10:32

Anfragen zur AskSin++ werden nur im Forum beantwortet

re-vo-lution
Beiträge: 131
Registriert: 07.01.2018, 15:11
Wohnort: 08233 Treuen
Hat sich bedankt: 21 Mal
Danksagung erhalten: 8 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von re-vo-lution » 24.09.2019, 10:57

Die Anleitung hab ich schon gesehen, gibt mir aber auch keine richtige Antwort. Dann geh ich mal davon aus das das selektiv bedeutet das ich die Geräte konfigurieren kann die repeated werden sollen. Danke.

rih
Beiträge: 123
Registriert: 09.05.2019, 23:04
System: keine Zentrale (nur Pairing, FHEM etc.)
Wohnort: Nürtingen
Hat sich bedankt: 19 Mal
Danksagung erhalten: 10 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von rih » 24.09.2019, 11:05

Hallo papa,

Du und Jerome habt Euch ja in der Zwischenzeit ein wenig zum Thema ausgetauscht.
So, habe das mal kurz angeworfen und mit meinem Spiel-FHEM verbunden. Sieht doch gar nicht so schlecht aus:
Du kannst jetzt beim Radio-Zemplate das SendDelay mit einem zusätzlichen Argument abschalten/einstellen.
Was heißt das nun im Zusammenhang mit FHEM? Funktioniert der Nachbau bei Dir bzw. funktioniert die Verstärkung grundsätzlich und es ist nur ein Anzeigeproblem in der Readings-Liste?
Bitte kläre einen Unwissenden wie mich auf. Danke.
Viele Grüße,
Hans

papa
Beiträge: 705
Registriert: 22.05.2018, 10:23
Hat sich bedankt: 24 Mal
Danksagung erhalten: 120 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von papa » 24.09.2019, 11:16

Ob der funktioniert weiss ich nicht.
Aber er kann an FHEM angelernt werden und die zur wiederholenden Geräte werden auch korrekt im Gerät gespeichert. Nur die Anzeige ist halt kaputt.
Anfragen zur AskSin++ werden nur im Forum beantwortet

rih
Beiträge: 123
Registriert: 09.05.2019, 23:04
System: keine Zentrale (nur Pairing, FHEM etc.)
Wohnort: Nürtingen
Hat sich bedankt: 19 Mal
Danksagung erhalten: 10 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von rih » 24.09.2019, 11:37

Wollte den Sketch gerade nochmal probieren. Leider gibt es ein Problem beim compilieren mit der (neuen?) Zeile:

Code: Alles auswählen

typedef AskSin<StatusLed<4>, NoBattery, Radio<AvrSPI<10, 11, 12, 13>, 2, 0>> Hal;
Fehlermeldungen:

Code: Alles auswählen

Arduino: 1.9.0-beta (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"

In file included from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:8:0:

D:\Arduino-Projekte\Projekte\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. ***")

                                                                                                                             ^

HM-Sys-sRP-Pl:27:74: error: type/value mismatch at argument 3 in template parameter list for 'template<class SPIType, unsigned char GDO0, class HWRADIO> class as::Radio'

 typedef AskSin<StatusLed<4>, NoBattery, Radio<AvrSPI<10, 11, 12, 13>, 2, 0>> Hal;

                                                                          ^

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:27:74: note:   expected a type, got '0'

HM-Sys-sRP-Pl:27:75: error: template argument 3 is invalid

 typedef AskSin<StatusLed<4>, NoBattery, Radio<AvrSPI<10, 11, 12, 13>, 2, 0>> Hal;

                                                                           ^

In file included from sketch\MultiChannelDeviceMod.h:9:0,

                 from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:

sketch\DeviceMod.h: In instantiation of 'class as::Device<int, UList0>':

sketch\MultiChannelDeviceMod.h:28:7:   required from 'class as::ChannelDevice<int, as::VirtBaseChannel<int, UList0>, 1, UList0>'

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:758:31:   required from here

DeviceMod.h:83:37: error: 'int' is not a class, struct, or union type

   typedef typename HalType::LedType LedType;

                                     ^

DeviceMod.h:84:41: error: 'int' is not a class, struct, or union type

   typedef typename HalType::BatteryType BatteryType;

                                         ^

DeviceMod.h:85:39: error: 'int' is not a class, struct, or union type

   typedef typename HalType::RadioType RadioType;

                                       ^

DeviceMod.h:86:40: error: 'int' is not a class, struct, or union type

   typedef typename HalType::BuzzerType BuzzerType;

                                        ^

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino: In function 'void loop()':

HM-Sys-sRP-Pl:854:21: error: request for member 'runready' in 'hal', which is of non-class type 'Hal {aka int}'

   bool worked = hal.runready();

                     ^

HM-Sys-sRP-Pl:857:9: error: request for member 'activity' in 'hal', which is of non-class type 'Hal {aka int}'

     hal.activity.savePower<Idle<true>>(hal);

         ^

HM-Sys-sRP-Pl:857:37: error: expected primary-expression before '>' token

     hal.activity.savePower<Idle<true>>(hal);

                                     ^

In file included from sketch\MultiChannelDeviceMod.h:9:0,

                 from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:

sketch\DeviceMod.h: In instantiation of 'bool as::Device<HalType, List0Type>::send(as::Message&) [with HalType = int; List0Type = UList0]':

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:783:15:   required from here

DeviceMod.h:297:10: error: 'led' was not declared in this scope

       led().set(LedStates::send);

          ^

DeviceMod.h:300:21: error: 'radio' was not declared in this scope

       result = radio().write(msg,msg.burstRequired());

                     ^

In file included from sketch\MultiChannelDeviceMod.h:9:0,

                 from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:

DeviceMod.h:331:10: error: 'led' was not declared in this scope

       led().set( result == true ? LedStates::ack : LedStates::nack);

          ^

In file included from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:0:

sketch\MultiChannelDeviceMod.h: In instantiation of 'bool as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::process(as::Message&) [with HalType = int; ChannelType = as::VirtBaseChannel<int, UList0>; int ChannelCount = 1; List0Type = UList0]':

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:827:42:   required from here

MultiChannelDeviceMod.h:226:8: error: 'class as::ChannelDevice<int, as::VirtBaseChannel<int, UList0>, 1, UList0>' has no member named 'radio'

        this->radio().setSendTimeout(100);

        ^

In file included from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:0:

MultiChannelDeviceMod.h:240:12: error: 'class as::ChannelDevice<int, as::VirtBaseChannel<int, UList0>, 1, UList0>' has no member named 'led'

            this->led().set(LedStates::pairing);

            ^

MultiChannelDeviceMod.h:329:14: error: 'class as::ChannelDevice<int, as::VirtBaseChannel<int, UList0>, 1, UList0>' has no member named 'led'

              this->led().set(LedStates::nothing);

              ^

In file included from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:0:

sketch\MultiChannelDeviceMod.h: In instantiation of 'bool as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::init(HalType&) [with HalType = int; ChannelType = as::VirtBaseChannel<int, UList0>; int ChannelCount = 1; List0Type = UList0]':

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:847:16:   required from here

MultiChannelDeviceMod.h:124:5: error: request for member 'init' in 'hal', which is of non-class type 'int'

     hal.init(id);

     ^

MultiChannelDeviceMod.h:125:5: error: request for member 'config' in 'hal', which is of non-class type 'int'

     hal.config(this->getConfigArea());

     ^

sketch\MultiChannelDeviceMod.h: In instantiation of 'uint16_t as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::checksum() [with HalType = int; ChannelType = as::VirtBaseChannel<int, UList0>; int ChannelCount = 1; List0Type = UList0; uint16_t = unsigned int]':

sketch\MultiChannelDeviceMod.h:115:42:   required from 'bool as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::init(HalType&) [with HalType = int; ChannelType = as::VirtBaseChannel<int, UList0>; int ChannelCount = 1; List0Type = UList0]'

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:847:16:   required from here

MultiChannelDeviceMod.h:74:25: error: 'crc16' is not a member of 'int'

     crc = HalType::crc16(crc,DeviceType::keystore().size());

                         ^

MultiChannelDeviceMod.h:77:27: error: 'crc16' is not a member of 'int'

       crc = HalType::crc16(crc,list0.getRegister(i));

                           ^

MultiChannelDeviceMod.h:85:29: error: 'crc16' is not a member of 'int'

         crc = HalType::crc16(crc,l.getRegister(i));

                             ^

MultiChannelDeviceMod.h:89:29: error: 'crc16' is not a member of 'int'

         crc = HalType::crc16(crc,l.getRegister(i));

                             ^

MultiChannelDeviceMod.h:94:29: error: 'crc16' is not a member of 'int'

         crc = HalType::crc16(crc,l.getRegister(i));

                             ^

MultiChannelDeviceMod.h:99:29: error: 'crc16' is not a member of 'int'

         crc = HalType::crc16(crc,l.getRegister(i));

                             ^

MultiChannelDeviceMod.h:102:27: error: 'crc16' is not a member of 'int'

       crc = HalType::crc16(crc,ch.peers());

                           ^

In file included from sketch\MultiChannelDeviceMod.h:9:0,

                 from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:

sketch\DeviceMod.h: In instantiation of 'bool as::Device<HalType, List0Type>::pollRadio() [with HalType = int; List0Type = UList0]':

sketch\MultiChannelDeviceMod.h:178:40:   required from 'bool as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::pollRadio() [with HalType = int; ChannelType = as::VirtBaseChannel<int, UList0>; int ChannelCount = 1; List0Type = UList0]'

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:855:30:   required from here

DeviceMod.h:264:24: error: 'radio' was not declared in this scope

     uint8_t num = radio().read(msg);

                        ^

In file included from D:\Arduino-Projekte\Projekte\libraries\AskSinPP-master/AskSinPP.h:48:0,

                 from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:9:

D:\Arduino-Projekte\Projekte\libraries\AskSinPP-master/Button.h: In instantiation of 'void as::ConfigButton<DEVTYPE, OFFSTATE, ONSTATE, MODE>::state(uint8_t) [with DEVTYPE = RepeaterDevice; unsigned char OFFSTATE = 1u; unsigned char ONSTATE = 0u; unsigned char MODE = 2u; uint8_t = unsigned char]':

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:859:1:   required from here

D:\Arduino-Projekte\Projekte\libraries\AskSinPP-master/Button.h:189:9: error: 'class RepeaterDevice' has no member named 'led'

         device.led().set(LedStates::key_long);

         ^

In file included from D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:12:0:

sketch\MultiChannelDeviceMod.h: In instantiation of 'void as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::startPairing() [with HalType = int; ChannelType = as::VirtBaseChannel<int, UList0>; int ChannelCount = 1; List0Type = UList0]':

D:\Arduino-Projekte\Projekte\libraries\AskSinPP-master/Button.h:182:7:   required from 'void as::ConfigButton<DEVTYPE, OFFSTATE, ONSTATE, MODE>::state(uint8_t) [with DEVTYPE = RepeaterDevice; unsigned char OFFSTATE = 1u; unsigned char ONSTATE = 0u; unsigned char MODE = 2u; uint8_t = unsigned char]'

D:\Arduino-Projekte\Projekte\HM-Sys-sRP-Pl\HM-Sys-sRP-Pl.ino:859:1:   required from here

MultiChannelDeviceMod.h:169:5: error: 'class as::ChannelDevice<int, as::VirtBaseChannel<int, UList0>, 1, UList0>' has no member named 'led'

     this->led().set(LedStates::pairing);

     ^

exit status 1
type/value mismatch at argument 3 in template parameter list for 'template<class SPIType, unsigned char GDO0, class HWRADIO> class as::Radio'

Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
Was läuft da schief?
Viele Grüße,
Hans

jp112sdl
Beiträge: 12084
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 847 Mal
Danksagung erhalten: 2139 Mal
Kontaktdaten:

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von jp112sdl » 24.09.2019, 12:00

Lad dir mal die neueste AskSinPP master

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

Benutzeravatar
WRadebeul
Beiträge: 141
Registriert: 29.01.2018, 13:53
Hat sich bedankt: 2 Mal
Danksagung erhalten: 12 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von WRadebeul » 08.10.2019, 08:04

Hallo

Ich habe den Repeater nachgebaut. Funktioniert augenscheinlich.
Frage:
Warum wurde die Produktion eingestellt, bzw. warum wird von der Verwendung immer wieder abgeraten ?
Raspberrymatic, iOBroker, Homematic Classic, Homematic Homebrew, CUL 868 für Somfy Rolladen, Sonoff 3.0 ZigBee, NeoCreator zur Visualisierung, Mediola 4+ Gateway für IR, InfluxDB & Grafana

jp112sdl
Beiträge: 12084
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 847 Mal
Danksagung erhalten: 2139 Mal
Kontaktdaten:

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von jp112sdl » 08.10.2019, 08:34

WRadebeul hat geschrieben:
08.10.2019, 08:04
Warum wurde die Produktion eingestellt, bzw. warum wird von der Verwendung immer wieder abgeraten ?
https://de.elv.com/forum/keine-low-bat-meldungen-2265
https://www.amazon.de/gp/customer-reviews/R27E4OWK9OSZX

Dazu kommt noch die Einführung von HmIP, wo es dann auch Geräte mit Routing-Funktion gibt.

Grundsätzlich würde ich immer zum LAN-Gateway raten, um zusätzlichen Funkverkehr wie beim Repeater zu vermeiden.

Oder - so ist es bei mir der Fall - den Repeater nur für broadcastende Sender verwenden.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

Benutzeravatar
WRadebeul
Beiträge: 141
Registriert: 29.01.2018, 13:53
Hat sich bedankt: 2 Mal
Danksagung erhalten: 12 Mal

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von WRadebeul » 08.10.2019, 13:14

Ok, danke und verstanden.
Batt low Meldungen brauche ich nicht.
Wollte aber Schaltaktoren für die Gartenbewässerung
verstärken. Ist ein sensibler Bereich, daher überlege ich
mir das nochmals.
Vielleicht baue ich doch das LAN Gateway nach.
Ist dieses schon final ? Nur LAN oder auch wlan?
Raspberrymatic, iOBroker, Homematic Classic, Homematic Homebrew, CUL 868 für Somfy Rolladen, Sonoff 3.0 ZigBee, NeoCreator zur Visualisierung, Mediola 4+ Gateway für IR, InfluxDB & Grafana

jp112sdl
Beiträge: 12084
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 847 Mal
Danksagung erhalten: 2139 Mal
Kontaktdaten:

Re: Repeater HM-Sys-sRP-Pl AskSin++ Nachbau

Beitrag von jp112sdl » 08.10.2019, 13:26

WRadebeul hat geschrieben:
08.10.2019, 13:14
Vielleicht baue ich doch das LAN Gateway nach.
Ist dieses schon final ?
Was für ein LAN Gateway Nachbau?

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

Antworten

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