habe letztens folgendes Gerät im Internet gefunden. Ist vom Preis her sehr interessant. Hat auch eine USB Schnittstelle… Ob man damit wohl was anfangen könnte?
Und anbei noch meine Anfrage an den Service (der ultimativ schnell und detailiert geantwortet hat).
i´m very interested in one of your OWL Intuition devices. My target ist to measure my power consumption (what else to do with this But I want to have my own Database lokal at my home. Is there any possibility to get the Data out of the receiver? For example a little Webserver or anythin like that to witch I could access via PHP. Hope you can track my problem.
Thanks in advance.
Hi Korbinian,
The Intuition Network OWL broadcasts Multicast messages onto the local area network. With your own software you could receive this data and do whatever you want with it. I have provided full details below.
I hope this helps.
Kind regards
Paul
OWL
I have attached some example C source code that will enable you to receive the XML packets. The packets will be debugged out to the console once the application is run. There is no processing of the data as this app is just to show how to receive the data.
To compile on a linux pc or a mac, run the following command on the command line: gcc –ointuition-listener intuition-listener.c then run with the command ./intuition-listener
where:
electricity id = MAC address of the Network OWL
rssi = receive signal strength (closer to 0 the better)
lqi = link quality (closer to 0 the better)
units –> wh = watt hours, divide by 1000 to get kWh
Where:
code = an internal code used to define the weather condition. A list can be supplied if required.
Other types of data packet will be implemented as and when we bring other products online (ie intuition-c)
> Hi Paul,
WOW I´m flashed never had such a quick and detailed service response. Respect!
OK, that looks fine!
Two questions at last:
Runs the Intuition Network OWL without connecting to the cloud?
And because of I´m from Germany, is there the matching Powerplug for German Powersocket inside the delivery contents?
Thanks a lot for your answere and the informations.
Kind regards.
Korbinian
Hi Korbinian,
Thanks we aim to please
Answers to your questions:
Yes the Multicast continues so long as it is connected into the LAN. But of course our server will not be updated and you will not have data on the web dashboard.
The product now comes with an interchangeable UK/Euro plug.
@spaceduck: Gerne kein Problem, ich kann damit leider sowieso nichts anfangen
Meine Versuchen hätte ich mit dem Client-Socket Modul gestartet
/*
* listener.c -- joins a multicast group and echoes all data it receives from
*the group to its stdout...
*
* Antony Courtney,25/11/94
* Modified by: Frdric Bastien (25/03/04)
* to compile without warning and work correctly
*/
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <time.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define HELLO_PORT 22600
#define HELLO_GROUP "224.192.32.19"
#define MSGBUFSIZE 300
main(int argc, char *argv[])
{
struct sockaddr_in addr;
int fd, nbytes,addrlen;
struct ip_mreq mreq;
char msgbuf[MSGBUFSIZE];
u_int yes=1; /*** MODIFICATION TO ORIGINAL */
/* create what looks like an ordinary UDP socket */
if ((fd=socket(AF_INET,SOCK_DGRAM,0)) < 0) {
perror("socket");
exit(1);
}
/**** MODIFICATION TO ORIGINAL */
/* allow multiple sockets to use the same PORT number */
if (setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,&yes,sizeof(yes)) < 0) {
perror("Reusing ADDR failed");
exit(1);
}
/*** END OF MODIFICATION TO ORIGINAL */
/* set up destination address */
memset(&addr,0,sizeof(addr));
addr.sin_family=AF_INET;
addr.sin_addr.s_addr=htonl(INADDR_ANY); /* N.B.: differs from sender */
addr.sin_port=htons(HELLO_PORT);
/* bind to receive address */
if (bind(fd,(struct sockaddr *) &addr,sizeof(addr)) < 0) {
perror("bind");
exit(1);
}
/* use setsockopt() to request that the kernel join a multicast group */
mreq.imr_multiaddr.s_addr=inet_addr(HELLO_GROUP);
mreq.imr_interface.s_addr=htonl(INADDR_ANY);
if (setsockopt(fd,IPPROTO_IP,IP_ADD_MEMBERSHIP,&mreq,sizeof(mreq)) < 0) {
perror("setsockopt");
exit(1);
}
/* now just enter a read-print loop */
while (1) {
addrlen=sizeof(addr);
if ((nbytes=recvfrom(fd,msgbuf,MSGBUFSIZE,0,
(struct sockaddr *) &addr,&addrlen)) < 0) {
perror("recvfrom");
exit(1);
}
msgbuf[nbytes] = 0x00; // null terminate before printing
puts(msgbuf);
}
}
So von der Messgenauigkeit sollen die wohl nicht so toll sein. Aber als Anhaltspunkt sicher nicht schlecht.
Sellt sich nur die Frage, wie man die Werte ins IPS bekommt.
Andererseits einen Digitalzähler mit S0 Ausgang --> Auswerteeinheit --> Wandler --> IPS ist weng kompliziert, dafür wohl genauer.
also ich hab mir mal sowohl den 8-fach-s0-Zähler als auch den USB-Monitor bestellt und werde den Testen, Feedback gibt es nächste Woche, gerne auch in Bezug auf die Genauigkeit
Hallo,
habe bei mir seit einem halben Jahr den OWL USB und den OWL Monitor im Einsatz.
Messe den gesammten Verbrauch in Haus damit.
Am Anfang hatte ich kleine Probleme mit der Einbindung in IPS, aber mit Unterstützung des Forums ging es dann einfach.
Eine GROßE Abweichung von gemessenem und tatsächlichen Verbrauch kann ich nicht bestätigen.
Klar ist es keine genaue Messung wie mit einem Zähler.
Einziges Problem was bei mir auftaucht ist, das ich ab und zu Verbrauch von 1000 - 4000KW :eek: in der Stunde habe. Das kommt sporadisch vor. Woher? Keine Ahnung. Kann es auch an keiner Zeit festmachen. Ist einfach sporadisch und zu jeder Tages und Nachtzeit.
Fazit: Bei mir geht es um einen Ungefähren Verbrauch zu haben. Dafür ist der OWL USB (Anbindung an IPS) und der Energiemonitor (Anzeige direkt im Wohnzimmer) schon sehr praktisch. Auf jedenfall stimmt das Preis / Leistungsverhältnis.
Wie hast du das mit der Einbindung in IPS gelöst? der Monitor hat ja einen USB Anschluss. Darüber auslesen? oder gibt es noch einen zweiten Datenempfänger, den man dann an IPS anbinden kann?