pyHPSU icon indicating copy to clipboard operation
pyHPSU copied to clipboard

query

Open relft opened this issue 5 years ago • 56 comments

Hi,

I'm using https://github.com/zanac/pyHPSU with latest versions of june 2018 and rote HPSU 508 , and I have detected some issue, not working daemon (as workaround using a script + sleep) and also receiving some errors like

2019-04-14 07:52:26,515 - ERROR - RECV:bytearray(b'b\x10\xfa\n\x0c\x00/') 2019-04-14 07:52:26,516 - ERROR - msg not sync, timeout 2019-04-14 07:52:28,520 - ERROR - SEND:[49, 0, 3, 0, 0, 0, 0] 2019-04-14 07:52:28,521 - ERROR - RECV:bytearray(b'2\x10\x0e\x01\x87\x00\x00') 2019-04-14 07:52:28,522 - ERROR - SEND:[49, 0, 3, 0, 0, 0, 0] 2019-04-14 07:52:28,522 - ERROR - RECV:bytearray(b' \nR\x01\x00\x00\x00') 2019-04-14 07:52:28,524 - ERROR - SEND:[49, 0, 3, 0, 0, 0, 0] 2019-04-14 07:52:28,524 - ERROR - RECV:bytearray(b' \nV\x00\x00\x00\x00') 2019-04-14 07:52:28,525 - ERROR - SEND:[49, 0, 3, 0, 0, 0, 0] 2019-04-14 07:52:28,526 - ERROR - RECV:bytearray(b' \nW\x00\x00\x00\x00') 2019-04-14 07:52:28,527 - ERROR - SEND:[49, 0, 3, 0, 0, 0, 0]

My question is related with your version, is the same than zanac. can I use without compatibility issues? what are the differences?

Thanks

relft avatar Apr 14 '19 19:04 relft

With you versions I can use to monitor and also attach a rocon u1 without issues or incompatibilities?

Thanks

relft avatar Apr 14 '19 19:04 relft

spanni/pyHPSU is based on the code of zanac/pyHPSU, but is under active development. You can connect your can interface parallel to the Rocon U1

Spanni26 avatar Apr 15 '19 06:04 Spanni26

Thanks, Connected rocon 1 and keeping connected with pyhpsu and all is working!!! Great!

Now I'm using latest Zanac version, and I have chcked that this version Spanni26 is newer and with more features, I can use same versions with smae commands used in Zanac or I need to make some changes?

I'm searching how to obtain ambien temperatures from rocon u1 but I can't fins where is stored in Zanac or spanni version, any suggestion how to get insider temperature from rocon u1?

Thanks

relft avatar May 11 '19 13:05 relft

As said: this repo hier (spanni26) is based on zanacs pyHPSU. But he can't develop his version anymore cause a lack of time. So we forked his version and developed it further. So Zanacs version is dead (sorry zanac). But all of his work is here in the spanni26 fork.

What temperature do you wan't to read? The temperature in the house? Do you have a sensor installed for that?

Spanni26 avatar May 12 '19 07:05 Spanni26

Hi,

Right, in this case I'll try to migrate to your version, any suggestion or only replace with same actual config? I want to read in house temperature from rocon u1, I have this temperature on rocon u1 lcd display but I don't know where to obtain this with pyhpsu and receive in emoncms... I Also have installed rocon ot 1 (external temperature) and this is correctly displayed from pyhpsu

Thanks

Missatge de Spanni26 [email protected] del dia dg., 12 de maig 2019 a les 9:37:

As said: this repo hier (spanni26) is based on zanacs pyHPSU. But he can't develop his version anymore cause a lack of time. So we forked his version and developed it further. So Zanacs version is dead (sorry zanac). But all of his work is here in the spanni26 fork.

What temperature do you wan't to read? The temperature in the house? Do you have a sensor installed for that?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18#issuecomment-491572795, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZYXWJBM7HGAM5YZMVTPU7CLLANCNFSM4HF3GP3A .

relft avatar May 12 '19 08:05 relft

Hello,

I've never seen a rocon U1. Is the temperature always shown on the display or dou you have to select it? We have to find it in a can dump.

Spanni26 avatar May 12 '19 08:05 Spanni26

Hi,

Is is always shown on the display with external rocon ot1, both temperatures are showed always If you need I can help to find this in our environment, if you give me detail I can try to help

Thanks

Missatge de Spanni26 [email protected] del dia dg., 12 de maig 2019 a les 10:31:

Hello,

I've never seen a rocon U1. Is the temperature always shown on the display or dou you have to select it? We have to find it in a can dump.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18#issuecomment-491576074, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZ3RQ3IPZIAXHRHPKXLPU7IU7ANCNFSM4HF3GP3A .

relft avatar May 12 '19 08:05 relft

Is the temperature also shown on the HPSU display?

Spanni26 avatar May 13 '19 07:05 Spanni26

Is shown on rocon u1 lcd display, always on main menu with rocon ot1 external temperatures, both temp on main lcd display

Thanks

El dl., 13 de maig 2019, 09:37, Spanni26 [email protected] va escriure:

Is the temperature also shown on the HPSU display?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18#issuecomment-491710008, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZZLBLFYQ346LUHT2W3PVELELANCNFSM4HF3GP3A .

relft avatar May 13 '19 18:05 relft

Is the room temperature shown on the Display of the HPSU or can it be displayed there? Otherwise its hard to find the can code

Spanni26 avatar May 14 '19 07:05 Spanni26

Perhaps it's: {"name": "cRAUMISTTEMP", "infoNumber": {"byteHigh": "0x00", "byteLow": "0x11"}, "type": "float", "transferThreshold": "0.5", "factor": "10"},

svde avatar May 14 '19 07:05 svde

Possibly :) But whats the can code?

Spanni26 avatar May 14 '19 07:05 Spanni26

$ /home/stefan/can_progs/can_scan can0 680 180.0011 elster-kromschroeder can-bus address scanner and test utility copyright (c) 2014 Jürg Müller, CH-5524

value: 8000 (RAUMISTTEMP not available)

Which makes sense, as I don't have the rocon u1 device.

svde avatar May 14 '19 07:05 svde

If someone could lend me U1 I can test it...

Spanni26 avatar May 14 '19 07:05 Spanni26

I have 2 of them in use :) Belgium close to German border.

gobartos avatar May 14 '19 08:05 gobartos

I need it here :)

Spanni26 avatar May 14 '19 09:05 Spanni26

Or... you need somebody to run some commands on the canbus connected to a system which has a u1

svde avatar May 14 '19 09:05 svde

Its a timing problem....you have to run a candump right at that moment you call the room temperature directly at the HPSU :)

Spanni26 avatar May 14 '19 09:05 Spanni26

Or just ask for the value using can_scan can0 680 180.0011 using can_progs from http://juerg5524.ch/list_data.php

svde avatar May 14 '19 09:05 svde

can_scan never worked for me. Can you do a "candump can0" and call your can_scan?

Spanni26 avatar May 14 '19 11:05 Spanni26

can0 69D [7] C1 0E FA 01 99 00 00 can0 680 [7] 31 00 FA 00 11 00 00 can0 180 [7] D2 00 FA 00 11 80 00 can0 69D [7] C1 0F FA 01 99 00 00

but I don't have a u1 device.

svde avatar May 14 '19 11:05 svde

Hi,

I have a u1, if anybody give details about required information and how to obtain I can try to get Thanks

Missatge de svde [email protected] del dia dt., 14 de maig 2019 a les 13:34:

can0 69D [7] C1 0E FA 01 99 00 00 can0 680 [7] 31 00 FA 00 11 00 00 can0 180 [7] D2 00 FA 00 11 80 00 can0 69D [7] C1 0F FA 01 99 00 00

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18?email_source=notifications&email_token=AL2SQZ3GHB3VF3PWYRB5VUTPVKPVPA5CNFSM4HF3GP3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLGD6A#issuecomment-492200440, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZ4EG6DCUNT5WQX24PTPVKPVPANCNFSM4HF3GP3A .

relft avatar May 14 '19 21:05 relft

Ok. I've added a command "t_room". To test it you have to pull the repo and call install.sh If someone with an rocon U1 could test it please :)

Btw: Thanks svde :)

Spanni26 avatar May 15 '19 05:05 Spanni26

Hi,

It seems that is not working correctly comparing with ot1 external temp, an example

root@emonpi:/local/pyHPSU# pyHPSU.py -c t_outdoor_ot1 [{'name': 't_outdoor_ot1', 'resp': '16.80', 'timestamp': 1557948828.651261}] --> Correct root@emonpi:/local/pyHPSU# pyHPSU.py -c t_room [{'name': 't_room', 'resp': '-3276.80', 'timestamp': 1557948841.112846}] --> incorrect value, must be 24.2

If you need I can help if you give details about what do you need

Thanks!

Missatge de Spanni26 [email protected] del dia dc., 15 de maig 2019 a les 7:50:

Ok. I've added a command "t_room". To test it you have to pull the repo and call install.sh If someone with an rocon U1 could test it please :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18?email_source=notifications&email_token=AL2SQZ6NJU3PZMHK446DQG3PVOQD5A5CNFSM4HF3GP3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNSSOI#issuecomment-492513593, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZ6XFLOC66BUIM2D6ZTPVOQD5ANCNFSM4HF3GP3A .

relft avatar May 15 '19 19:05 relft

I still need the same: The Can-Code and the information, if the room-temp is displayed directly at the HPSU. We only talk directly to the controller from the HPSU. If the Controller doesn't know the room temp...we can't ask him about :)

Spanni26 avatar May 16 '19 11:05 Spanni26

@relft : please do the following: on you unix machine do: Make sure you installed the program "candump" (on debian it's contained in "can-utils") "timout 300 candump can0 > /tmp/candump_relft" and post the file /tmp/candump_relft Please send us also the temperature showed at your U1

Spanni26 avatar May 16 '19 12:05 Spanni26

Hi, Attached file

Missatge de Spanni26 [email protected] del dia dj., 16 de maig 2019 a les 14:27:

@relft https://github.com/relft : please do the following: on you unix machine do: Make sure you installed the program "candump" (on debian it's contained in "can-utils") "timout 300 candump can0 > /tmp/candump_relft" and post the file /tmp/candump_relft Please send us also the temperature showed at your U1

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18?email_source=notifications&email_token=AL2SQZ63P2447QHCFSQXG5DPVVHKTA5CNFSM4HF3GP3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVRUU2I#issuecomment-493046377, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZZKJGG6MFWNVXAERJ3PVVHKTANCNFSM4HF3GP3A .

relft avatar May 16 '19 15:05 relft

Is the room temperature writable so I can write it with my own thermostat?

Von meinem iPhone gesendet

Am 16.05.2019 um 13:18 schrieb Spanni26 [email protected]:

I still need the same: The Can-Code and the information, if the room-temp is displayed directly at the HPSU. We only talk directly to the controller from the HPSU. If the Controller doesn't know the room temp...we can't ask him about :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hackepeterOli avatar May 16 '19 15:05 hackepeterOli

Do you can read?

Missatge de hackepeterOli [email protected] del dia dj., 16 de maig 2019 a les 17:55:

Is the room temperature writable so I can write it with my own thermostat?

Von meinem iPhone gesendet

Am 16.05.2019 um 13:18 schrieb Spanni26 [email protected]:

I still need the same: The Can-Code and the information, if the room-temp is displayed directly at the HPSU. We only talk directly to the controller from the HPSU. If the Controller doesn't know the room temp...we can't ask him about :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Spanni26/pyHPSU/issues/18?email_source=notifications&email_token=AL2SQZ6JBVCFJ5KWKXSNNQ3PVV7WTA5CNFSM4HF3GP3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVSIHRQ#issuecomment-493126598, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2SQZYUJDQG2OH75H4DQQ3PVV7WTANCNFSM4HF3GP3A .

relft avatar May 16 '19 17:05 relft

Hmmm, where is that file @relft ? Please send it to dspannbauer at web.de

Spanni26 avatar May 16 '19 18:05 Spanni26