Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniPagerLED verliert Verbindung #13

Open
MurrayBozinsky opened this issue Apr 3, 2017 · 3 comments
Open

UniPagerLED verliert Verbindung #13

MurrayBozinsky opened this issue Apr 3, 2017 · 3 comments
Labels

Comments

@MurrayBozinsky
Copy link

pi@DB0PRT:~/UniPagerLED $ sudo /home/pi/UniPagerLED/statusleds.py --gpioRun 19 --gpioConn 23

Setting led 19 to 1
Resp:
{
"Status": {
"transmitting": false,
"connected": true,
"timeslots": [
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false
]
}
}
Setting led 23 to 1
Led not present
Setting led 19 to 0
Timeout
Waiting 10 seconds
Trying again
Setting led 19 to 1
Resp:
{
"Status": {
"transmitting": false,
"connected": true,
"timeslots": [
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false
]
}
}
Setting led 23 to 1
Led not present
Setting led 19 to 0
Timeout
Waiting 10 seconds

Während des Timeout gehen beide - korrekterweise leuchtenden -
LEDs aus. Ist das Verhalten normal oder sollte die Verbindung nicht
dauernd gehalten werden ?
Bitte schreibt in der Doku noch rein wie man UniPagerLED als Dienst
im Hintergrund - wie den UniPager - automatisch beim Reboot startend
in Betrieb setzen kann.

@moho1
Copy link
Contributor

moho1 commented Apr 3, 2017

Das Programm vertraut aktuell darauf, dass spätestens innerhalb des Timeouts von 10 Sekunden neue Nachrichten vom UniPager kommen. Mit aktuellen Versionen sollte dies auch der Fall sein, da alle 6 Sekunden eine neue Statusmeldung mit dem aktuellen Timeslot geschickt wird.

Update mal den UniPager, dann sollte das funktionieren.

@moho1 moho1 added the feedback label Apr 3, 2017
@MurrayBozinsky
Copy link
Author

Update - funktioniert ! Danke !

@moho1
Copy link
Contributor

moho1 commented Apr 12, 2017

Jetzt gibt es auch eine Servicedatei für Systemd sowie ein Installationsskript und eine Konfigurationsdatei.

Funktioniert damit alles wie gewünscht bzw. ist die Anleitung dazu in der Readme verständlich?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants