Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
Ankündigung
Einklappen
Keine Ankündigung bisher.
Reading a GA and displaying the value in decimal via PHP
as I think about it. It couldn't be a raw value. There are only bits (represented as integers or hex) on the wire. The conversion to float happens afterwards.
In your case you get a float from the groupread command. That doesn't seem right.
Its in python but that shouldn't be to hard to port to php.
Mmmm, this is far beyhond my modest programming skills
I'm still puzzled by the post on the professional forum, it clearly says " Umrechnung Temperaturen" and I've no reason to suspect it.
Then, it could be that GroupRead doesn't supply the data in a format compatible with the conversion routine.
I think I see your Problem. You are using the wrong decoding function. Floating Point values are a little ugly to decode, but there should be a function in the client.
I'm on a Road Trip and have no access to my dev computer. => you have to Look for the right function by yourself.
And you do have an running eibd, which listens on 127.0.0.1.
Yes, I understand that's the standard way of doing.
eibd is running on a NAS QNAP with PHP5.
I've another application to display KNX data on a Cisco phone, also using PHP, and it is working fine, using the same GroupRead.
I'm not sure that I could help you, but I give it a try. What is the return value of the Groupwrite command?
And you do have an running eibd, which listens on 127.0.0.1.
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Einen Kommentar schreiben: