Originally posted by: <email address deleted>
I noticed that somebody made something to give the digitemp values to
fhem as hms device.
I'm using heyu for my oregon sensors, and wants also to give them to
fhem also as hms device.
I know I can do it with a device I can do this
/usr/local/bin/fhem.pl localhost:7072 'setstate lamp off'
if I run
heyu oretemp l15
I get the result: 17.7
and heyu orerh l15
I get the result: 56
How can I get these results in fhem as hms device, then I can also
view it with graphs on fhemobile
regards Richard
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
> How can I get these results in fhem as hms device, then I can also
> view it with graphs on fhemobile
If you send them via
fhem.pl localhost:7072 'trigger myhms T: 12.1 H: 50.1 Bat: ok'
(myhms must be defined), then you can configure e.g. a FileLog to write it to a
buffer.
Another possibility to write the logfile outside of fhem in the "correct"
format, and define a fake fhem FileLog with the filename.
An hms log entry looks like this:
2010-10-26_08:47:06 myhms T: 12.1 H: 50.1 Bat: ok
The perfect solution would be to use the brand-new RFXCOM fhem module. But as I
do not own any RFXCOM devices, I cannot tell you if yours is supported.
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Rduolf,
I'm gone try it, it should work.
how do I define the hms?
define myhms HSM 1234
attr myhms model hms100-tf
is this correct?
Richard
On 26 okt, 08:58, Rudolf Koenig wrote:
> > How can I get these results in fhem as hms device, then I can also
> > view it with graphs on fhemobile
>
> If you send them via
> fhem.pl localhost:7072 'trigger myhms T: 12.1 H: 50.1 Bat: ok'
> (myhms must be defined), then you can configure e.g. a FileLog to write it to a
> buffer.
>
> Another possibility to write the logfile outside of fhem in the "correct"
> format, and define a fake fhem FileLog with the filename.
>
> An hms log entry looks like this:
> 2010-10-26_08:47:06 myhms T: 12.1 H: 50.1 Bat: ok
>
> The perfect solution would be to use the brand-new RFXCOM fhem module. But as I
> do not own any RFXCOM devices, I cannot tell you if yours is supported.
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
> is this correct?
Yes
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Rudolf
I get
FHZ> l myhms
Internals:
CODE 1000
DEF 1000
IODev FHZ1
NAME myhms
NR 14
STATE ???
TYPE HMS
Attributes:
model hms100-tf
room Woonkamer
when I run fhem.pl localhost:7072 'trigger myhms T: 12.1 H: 50.1 Bat:
ok'
It doesn't change anything, shouldn't the state be 12.1? or the values
to be seen?
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
> It doesn't change anything, shouldn't the state be 12.1? or the values
> to be seen?
No. trigger is only evaluated by FileLog/notify/etc. You can additionally
update the STATE of myhms with:
fhem.pl localhost:7072 'trigger myhms T: 12.1 H: 50.1 Bat: ok;\
{$defs{myhms}{STATE}="T: 12.1 H: 50.1 Bat: ok"}'
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Is it also possible to put readings in to it??
pgm3 is waiting for first message from the hms device, and fhemobile
gives nothing, so I think they will have readings??
Now I got
FHZ> l myhms
Internals:
CODE 1000
DEF 1000
IODev FHZ1
NAME myhms
NR 14
STATE T: 16.0 H: 50.1 Bat: ok
TYPE HMS
Attributes:
model hms100-tf
room Woonkamer
On Oct 26, 2:26 pm, Rudolf Koenig wrote:
> > It doesn't change anything, shouldn't the state be 12.1? or the values
> > to be seen?
>
> No. trigger is only evaluated by FileLog/notify/etc. You can additionally
> update the STATE of myhms with:
> fhem.pl localhost:7072 'trigger myhms T: 12.1 H: 50.1 Bat: ok;\
> {$defs{myhms}{STATE}="T: 12.1 H: 50.1 Bat: ok"}'
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Are you using an RFXCOM receiver to get the oregon sensor data from
heyu?
If yes, you may consider to use your RFXCOM receiver with FHEM. I
wrote the modules for FHEM. They work fine with my RFXCOM receiver.
Just get the latest FHEM 40_RFXCOM.pm and 41_OREGON.pm modules from
CVS or just use FHEM 5.0. See commandref.html on how to configure it.
The modules supports lots of Oregon sensors. If your sensor is not
supported, it should be normally no problem to add it. However X10 is
not supported.
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Wili,
I know that there is some suppoort in fhem, but I use also the
rfxpower (gas, power, water) , and raingauge and security modules for
x10 and they are not yet implented
Also fhemobile supports only HMS yet, so if i can fake it, I can see
graphs and temp on my iphone.
On 26 okt, 22:53, Willi wrote:
> Are you using an RFXCOM receiver to get the oregon sensor data from
> heyu?
>
> If yes, you may consider to use your RFXCOM receiver with FHEM. I
> wrote the modules for FHEM. They work fine with my RFXCOM receiver.
>
> Just get the latest FHEM 40_RFXCOM.pm and 41_OREGON.pm modules from
> CVS or just use FHEM 5.0. See commandref.html on how to configure it.
> The modules supports lots of Oregon sensors. If your sensor is not
> supported, it should be normally no problem to add it. However X10 is
> not supported.
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
On Tue, Oct 26, 2010 at 01:21:08PM -0700, kroon040 wrote:
> Is it also possible to put readings in to it??
Yes, but it is getting harder and I find it strange if it helps:
fhem.pl localhost:7072 'trigger myhms T: 12.1 H: 50.1 Bat: ok; {\
$defs{myhms}{STATE}="T: 12.1 H: 50.1 Bat: ok";;\
$defs{myhms}{READINGS}{temperature}{VAL}="12.1 (Celsius)";;\
$defs{myhms}{READINGS}{temperature}{TIME}="2010-10-27 09:55:51";;\
$defs{myhms}{READINGS}{humidity}{VAL}="50.1 (%)";;\
$defs{myhms}{READINGS}{humidity}{TIME}="2010-10-27 09:55:51";;\
$defs{myhms}{READINGS}{battery}{VAL}="ok";;\
$defs{myhms}{READINGS}{battery}{TIME}="2010-10-27 09:55:51";;\
}'
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Rudolf
This works almost, I get in fhemobile data, graphs not yet, so I tried
pgm3 also nog graphs, I get Waiting for the first message from the HMS-
Device...
What does it want???
I got this
FHZ> l Buitentemp
Internals:
CODE 1001
DEF 1001
IODev FHZ1
NAME Buitentemp
NR 11
STATE T: 11.5 H: 40 Bat: ok
TYPE HMS
Readings:
2010-10-28 21:15:02 battery ok
2010-10-28 21:15:02 humidity 40 (%)
2010-10-28 21:15:02 temperature 11.5 (Celsius)
Attributes:
model hms100-tf
room Buiten
and as logfile
2010-10-28_14:25:01 Buitentemp T: 13.5 H: 40 Bat: ok
2010-10-28_14:25:01 Buitentemp temperature: 13.5 (Celsius)
2010-10-28_14:25:02 Buitentemp humidity: 40 (%)
2010-10-28_14:25:02 Buitentemp battery: ok
2010-10-28_14:30:02 Buitentemp T: 13.6 H: 39 Bat: ok
2010-10-28_14:30:02 Buitentemp temperature: 13.6 (Celsius)
2010-10-28_14:30:02 Buitentemp humidity: 39 (%)
2010-10-28_14:30:02 Buitentemp battery: ok
and in fhem.cfg
define FileLog_Buitentemp FileLog /var/log/fhem/Buitentemp.log
Buitentemp
attr FileLog_Buitentemp logtype fht:.*
and filled the data with cronjob
#!/bin/sh
datum=$(date +%Y-%m-%d)
tijd=$(date +%H:%M:%S)
temp=$(/usr/local/bin/heyu oretemp l10)
hum=$(/usr/local/bin/heyu orerh l10)
/usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp T: '$temp'
H: '$hum' Bat: ok; {\
$defs{Buitentemp}{STATE}="T: '$temp' H: '$hum' Bat: ok";;\
$defs{Buitentemp}{READINGS}{temperature}{VAL}="'$temp' (Celsius)";;\
$defs{Buitentemp}{READINGS}{temperature}{TIME}="'$datum' '$tijd'";;\
$defs{Buitentemp}{READINGS}{humidity}{VAL}="'$hum' (%)";;\
$defs{Buitentemp}{READINGS}{humidity}{TIME}="'$datum' '$tijd'";;\
$defs{Buitentemp}{READINGS}{battery}{VAL}="ok";;\
$defs{Buitentemp}{READINGS}{battery}{TIME}="'$datum' '$tijd'"}'
/usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp temperature:
'$temp' (Celsius)'
/usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp humidity:
'$hum' (%)'
/usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp battery: ok'
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.
Originally posted by: <email address deleted>
Pgm3 works, I restarted everything.... Only fhemobile the graphs...
hopefully Arno can tell me that
regards Richard
On Oct 28, 9:19 pm, kroon040 wrote:
> Rudolf
>
> This works almost, I get in fhemobile data, graphs not yet, so I tried
> pgm3 also nog graphs, I get Waiting for the first message from the HMS-
> Device...
>
> What does it want???
>
> I got this
>
> FHZ> l Buitentemp
> Internals:
> CODE 1001
> DEF 1001
> IODev FHZ1
> NAME Buitentemp
> NR 11
> STATE T: 11.5 H: 40 Bat: ok
> TYPE HMS
> Readings:
> 2010-10-28 21:15:02 battery ok
> 2010-10-28 21:15:02 humidity 40 (%)
> 2010-10-28 21:15:02 temperature 11.5 (Celsius)
> Attributes:
> model hms100-tf
> room Buiten
>
> and as logfile
>
> 2010-10-28_14:25:01 Buitentemp T: 13.5 H: 40 Bat: ok
> 2010-10-28_14:25:01 Buitentemp temperature: 13.5 (Celsius)
> 2010-10-28_14:25:02 Buitentemp humidity: 40 (%)
> 2010-10-28_14:25:02 Buitentemp battery: ok
> 2010-10-28_14:30:02 Buitentemp T: 13.6 H: 39 Bat: ok
> 2010-10-28_14:30:02 Buitentemp temperature: 13.6 (Celsius)
> 2010-10-28_14:30:02 Buitentemp humidity: 39 (%)
> 2010-10-28_14:30:02 Buitentemp battery: ok
>
> and in fhem.cfg
>
> define FileLog_Buitentemp FileLog /var/log/fhem/Buitentemp.log
> Buitentemp
> attr FileLog_Buitentemp logtype fht:.*
>
> and filled the data with cronjob
>
> #!/bin/sh
> datum=$(date +%Y-%m-%d)
> tijd=$(date +%H:%M:%S)
> temp=$(/usr/local/bin/heyu oretemp l10)
> hum=$(/usr/local/bin/heyu orerh l10)
> /usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp T: '$temp'
> H: '$hum' Bat: ok; {\
> $defs{Buitentemp}{STATE}="T: '$temp' H: '$hum' Bat: ok";;\
> $defs{Buitentemp}{READINGS}{temperature}{VAL}="'$temp' (Celsius)";;\
> $defs{Buitentemp}{READINGS}{temperature}{TIME}="'$datum' '$tijd'";;\
> $defs{Buitentemp}{READINGS}{humidity}{VAL}="'$hum' (%)";;\
> $defs{Buitentemp}{READINGS}{humidity}{TIME}="'$datum' '$tijd'";;\
> $defs{Buitentemp}{READINGS}{battery}{VAL}="ok";;\
> $defs{Buitentemp}{READINGS}{battery}{TIME}="'$datum' '$tijd'"}'
>
> /usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp temperature:
> '$temp' (Celsius)'
> /usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp humidity:
> '$hum' (%)'
> /usr/local/bin/fhem.pl localhost:7072 'trigger Buitentemp battery: ok'
--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.