-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add support to run on Rotex rocon-g1 device #11
Comments
I've also noticed the list index out of range error. I've rebuilt
the /etc/pyHPSU/commands_hpsu_NL.csv file and now it works. I'll share the
file once I've completed the translation.
I'm using a raspbian (linux) on a raspberry pi. Perhaps its related to dos
vs unix file format?
with kind regards, / met vriendelijke groet,
Stefan van der Eijk
…On Sat, Jan 13, 2018 at 10:32 AM, peak-load ***@***.***> wrote:
With my HPSU compact I got Rotex rocon-g1 gateway, to run it using Rotex
Cloud. I don't like that much, so I tried to check what's inside and found
Beagle Bone Black with CAN module.
https://www.heizungsdiscount24.de/regelungstechnik/rotex-
gateway-rocon-g1-zur-ankopplung-der-steuerung-an-das-internet.html
I got root to the device and found there Debian
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy
# cat /etc/issue
Debian GNU/Linux 7 \n \l
BeagleBoard.org Debian Image 2015-03-01
ip link show can0
3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 10
link/can
I installed can-utils and can dump can frames:
***@***.***:~/pyHPSU# /root/can-utils/candump can0
can0 69D [7] C1 0F FA 01 99 00 00
can0 69D [7] 31 00 FA 01 48 00 00
can0 180 [7] D2 1D FA 01 48 00 00
can0 69D [7] 31 00 FA 00 0C 00 00
can0 180 [7] D2 1D FA 00 0C 00 2D
can0 69D [7] 31 00 FA 0A 0C 00 00
can0 180 [7] D2 1D FA 0A 0C 80 00
can0 69D [7] 31 00 FA 01 22 00 00
can0 180 [7] D2 1D FA 01 22 0D 00
can0 69D [7] 31 00 FA 01 23 00 00
can0 180 [7] D2 1D FA 01 23 01 00
can0 69D [7] 31 00 FA 01 24 00 00
can0 180 [7] D2 1D FA 01 24 12 00
can0 69D [7] 31 00 FA 01 25 00 00
can0 180 [7] D2 1D FA 01 25 0A 00
can0 69D [7] 31 00 FA 01 26 00 00
can0 180 [7] D2 1D FA 01 26 1C 00
can0 69D [7] 31 00 FA 01 12 00 00
can0 180 [7] D2 1D FA 01 12 03 00
I had to install python from sources to get working as python in packages
is outdated. I'm not sure what driver use to get it working?
/usr/local/bin/python3 pyHPSU.py -l EN -c t_hc_set -c t_dhw_set -c t_ext -c t_outdoor_ot1 -c ta2 -o JSON -v 1
Traceback (most recent call last):
File "pyHPSU.py", line 148, in <module>
main(sys.argv[1:])
File "pyHPSU.py", line 88, in main
hpsu = HPSU(driver=driver, logger=logger, port=port, cmd=cmd, lg_code=lg_code)
File "/root/pyHPSU/HPSU/HPSU.py", line 58, in __init__
desc = row[2]
IndexError: list index out of range
/usr/local/bin/python3 pyHPSU.py -l EN -d EMU -c t_hc_set -c t_dhw_set -c t_ext -c t_outdoor_ot1 -c ta2 -o JSON -v 1
Traceback (most recent call last):
File "pyHPSU.py", line 148, in <module>
main(sys.argv[1:])
File "pyHPSU.py", line 88, in main
hpsu = HPSU(driver=driver, logger=logger, port=port, cmd=cmd, lg_code=lg_code)
File "/root/pyHPSU/HPSU/HPSU.py", line 58, in __init__
desc = row[2]
IndexError: list index out of range
Need your help to get pyHPSU working with can0 in this device.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAi8tiXGUBXfDmje2QOG58F5_5B0Al3Fks5tKHgtgaJpZM4RdKhk>
.
|
I don't think it's translation related |
Test on my system with my Dutch file:
$ python3 pyHPSU.py -d PYCAN -l NL -c mode
[{'timestamp': 1515916353.667485, 'name': 'mode', 'resp': '1.00'}]
With Italian file:
$ python3 pyHPSU.py -d PYCAN -l IT -c mode
[{'timestamp': 1515916363.129315, 'resp': '1.00', 'name': 'mode'}]
With English file:
$ python3 pyHPSU.py -d PYCAN -l EN -c mode
Traceback (most recent call last):
File "pyHPSU.py", line 148, in <module>
main(sys.argv[1:])
File "pyHPSU.py", line 88, in main
hpsu = HPSU(driver=driver, logger=logger, port=port, cmd=cmd,
lg_code=lg_code)
File "/home/stefan/pyHPSU/HPSU/HPSU.py", line 58, in __init__
desc = row[2]
*IndexError: list index out of range*
With German file, which has a different issue:
$ python3 pyHPSU.py -d PYCAN -l DE -c mode
Traceback (most recent call last):
File "pyHPSU.py", line 148, in <module>
main(sys.argv[1:])
File "pyHPSU.py", line 88, in main
hpsu = HPSU(driver=driver, logger=logger, port=port, cmd=cmd,
lg_code=lg_code)
File "/home/stefan/pyHPSU/HPSU/HPSU.py", line 72, in __init__
label = hpsuDict[name]["label"]
*KeyError: 't_room1_setpoint'*
The t_room1_setpoint entry is missing from the German file.
$ grep t_room1_setpoint /etc/pyHPSU/*
/etc/pyHPSU/commands_hpsu.csv:t_room1_setpoint;31 00 05 00 00 00
00;190;d;10;w
/etc/pyHPSU/commands_hpsu_EN.csv:t_room1_setpoint;T Room 1 Setpoint;
Setpoint 1 value
/etc/pyHPSU/commands_hpsu_IT.csv:t_room1_setpoint;T-Ambiente 1; Valore
nominale della temperatura ambientale in C, che vale per il primo di
accensione
/etc/pyHPSU/commands_hpsu_NL.csv:t_room1_setpoint;T Room 1 Setpoint;
Setpoint 1 value
$ wc -l /etc/pyHPSU/*
1 /etc/pyHPSU/canpi.ini
50 /etc/pyHPSU/commands_hpsu.csv
*44 /etc/pyHPSU/commands_hpsu_DE.csv*
50 /etc/pyHPSU/commands_hpsu_EN.csv
50 /etc/pyHPSU/commands_hpsu_IT.csv
50 /etc/pyHPSU/commands_hpsu_NL.csv
*44 /etc/pyHPSU/commands_hpsu_NL.csv.orig*
7 /etc/pyHPSU/EMONCMS.ini
296 total
The original Dutch and German files only have 44 lines instead of 50.
with kind regards, / met vriendelijke groet,
Stefan van der Eijk
…On Sat, Jan 13, 2018 at 8:24 PM, peak-load ***@***.***> wrote:
I don't think it's translation related
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAi8trTu9M_26y9aktBas_eti7W_JaLWks5tKQLtgaJpZM4RdKhk>
.
|
Try it with the italian translation.... "-l IT". Seems the only file that works. But you can also use my fork.... |
Guys I copied content from rotex-g1 device https://github.com/peak-load/rocon-g1 I see there bunch of outdated and vulnerable nodejs modules and debian packages. Rotex-g1 is running code from that directory, so maybe will be useful for someone to check how Rotex guys dealing with can bus (commands and codes are there in source codes). |
Wow. How did you do that?
I had a brief email conversation with rotex about what credentials to use
to login to the device, as at the time I thought it would be a good idea to
let my domotica system talk with the g1. The support engineer didn't
understand that I wanted access to the g1 device, so after a few emails I
gave up.
[image: Inline image 1]
with kind regards, / met vriendelijke groet,
Stefan van der Eijk
…On Tue, Jan 23, 2018 at 8:53 PM, peak-load ***@***.***> wrote:
Guys I copied content from rotex-g1 device https://github.com/peak-load/
rocon-g1 I see there bunch of outdated and vulnerable nodejs modules and
debian packages.
Rotex-g1 is running code from that directory, so maybe will be useful for
someone to check how Rotex guys dealing with can bus (commands and codes
are there in source codes).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAi8thk4F9Yj5KECpCF3ewAk7-w6UCBqks5tNjjDgaJpZM4RdKhk>
.
|
@svde It's beaglebone black inside, with root user. I started from microsd card mounted disk, chroot-ed and then passwd root did all the magic. Btw, Rotex guys recklessly allowed root access for everyone over ssh thinking that only they know root password. My rotex-g1 mmc disk copy (download, xz, then mount under Linux system, it's ext4 fs is there:
It was not easy at start , but was very trivial when it'd done! I give credits to #beaglebone guys at irc.freenode.net Short instructions
|
Perhaps we should create a forum or a chat or something...I think its not the right please to discuss here :) |
I created a secrect facebook group. You can contact me on Facebook (daniel.spannbauer.12) to get access to that group. |
Hi Daniel (and all)
I'm interested in getting access to that group so to follow the evolution
of this work
I've tried to search for "Daniel Spannbauer" but I've found at least 5
accounts with your name...
Can you provide additional information, please?
Thanks
Marco
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Mail
priva di virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
2018-02-22 14:04 GMT+01:00 Spanni26 <[email protected]>:
… I created a secrect facebook group. You can contact me on Facebook (Daniel
Spannbauer) to get access to that group.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AX76Yq8WTG9OTm1tXhxwLmWPbBO5Aaqxks5tXWXegaJpZM4RdKhk>
.
|
daniel.spannbauer.12 is the right account on facebook. |
You can also look for "Stefan van der Eijk" on facebook, pick the one with
the ski helmet in the profile picture.
with kind regards, / met vriendelijke groet,
Stefan van der Eijk
…On Thu, Feb 22, 2018 at 11:31 PM, itmanone ***@***.***> wrote:
Hi Daniel (and all)
I'm interested in getting access to that group so to follow the evolution
of this work
I've tried to search for "Daniel Spannbauer" but I've found at least 5
accounts with your name...
Can you provide additional information, please?
Thanks
Marco
<http://www.avg.com/email-signature?utm_medium=email&
utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Mail
priva di virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&
utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
2018-02-22 14:04 GMT+01:00 Spanni26 ***@***.***>:
> I created a secrect facebook group. You can contact me on Facebook
(Daniel
> Spannbauer) to get access to that group.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#11 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AX76Yq8WTG9OTm1tXhxwLmWPbBO5Aaqxks5tXWXegaJpZM4RdKhk>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAi8tllBm4m4blcoywQlUMQDE6NCsNYjks5tXeragaJpZM4RdKhk>
.
|
Hi, The main purpose is to be able to control (turn off/on) the DHW pump via Homekit/Homebridge. Thanks for your feedback |
You can control it from an android/ iPhone app. It doesn’t integrate with
anything else (no HomeKit / HomeBridge).
On Thu, 10 Jan 2019 at 19:20, migabc ***@***.***> wrote:
Hi,
I'm thinking of purchasing the Rotex Gateway RoCon G1 for my HPSU compact
system.
Do you guys recomend it?
The main purpose is to be able to control (turn off/on) the DHW pump via
Homekit/Homebridge.
Thanks for your feedback
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAi8trnvDKUwyLHajARAwSUDDZgITsP-ks5vB4SKgaJpZM4RdKhk>
.
--
Sent from my iPhone
|
Yes, I'm aware of that. Anyway, do you recommend this gateway? |
You can control temperature (both Room and DWH), select Heating mode and
basically that's it. Not much fun. Inside it's beaglebone with quite is old
code which is not maintained well from what I see.
…On Thu, Jan 10, 2019 at 7:47 PM migabc ***@***.***> wrote:
Yes, I'm aware of that.
But given that it allows web access (https://www.rotex-control.com/) it
should be possible to write a plugin for homebridge.
Anyway, do you recommend this gateway?
What exactly will I be able to control with it?
Do you know if Rotex provides some sort of demo account so I can see what
features/controls are available?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AgnydZaj9dMCuB_RLMjJ37jaJFne5XdOks5vB4rcgaJpZM4RdKhk>
.
--
--
With regards,
Eugene Sudyr
|
Is it possible to turn off/on the heat pump? Thanks, |
You can only control it from the app.
Not from the rotex-control.com website. The website only allows you to see
some values from the heat pump, but not change anything.
I only use the app to switch from standby to automatic1 when I return from
vacation. The pyHPSU software can do the same thing.
On Thu, 10 Jan 2019 at 20:13, migabc ***@***.***> wrote:
Is it possible to turn off/on the heat pump?
Where do you recomend I buy the gateway. Are there used units on sale?
Thanks,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAi8tqt5Har-30kMzEcM6pwhZrUtWtMFks5vB5DngaJpZM4RdKhk>
.
--
Sent from my iPhone
|
Thanks for your feedback |
Look at the commands_hpsu_*.csv-files. |
https://www.heizungdirekt24.de/product_info.php?info=p2220_rotex-gateway-rocon-g1.html |
I just found out that my heat pump (HPSU compact 516) does not have the Rcon module . so we cannot connect the Rcon gateway to it |
Do you have a link to the manual of your heatpump? According to the manual I've downloaded of the 516 you should have a RoCon-BM1 board in it. That board contains a canbus connector where the RoCon-G1 is connected to, or a canbus device (like a usbtin) so you can use the pyHPSU software. |
Do you have Fotos of the electronics? |
Only gen4 and 5 have the RoCon module |
Hi, I have to install a rocon u1, and use same connection j13 that now I'm using to minitor rotex, can I connect both system at same time without any problems? What is the recommended way? Thans |
Hello, The disk copy (dd) is no longer available at the MEGA sharing platform. Can you please repost the file.
Hello, The disk copy (dd) is no longer available at the MEGA sharing platform. Can you please repost the file. |
|
Thanks |
Hello, does anyone know the login data for the local web server (local IP of the gateway)? The Rotex website is unfortunately sometimes unavailable, so I would like to be able to access the G1 locally. |
It's been a while with your posts, but i would like to get the local web login as well for the RoCon G1 Gateway. Does somebody know it or has a link where to find it in the internet? Thank you very much. |
You can access G1 using instructions below:
1. Download Debian 9.2 2017-10-10 4GB SD IoT image image from
http://beagleboard.org/latest-images and dd to NEW microsd card.
https://debian.beagleboard.org/images/bone-debian-9.2-iot-armhf-2017-10-10-4gb.img.xz
2. Put sd card into beaglebond slot and restart it, you will be booted
into debian with default login and password
3. Mount mmc disk (G1 system disk) then change password using chroot and
passwd commands.
…On Wed, Jun 3, 2020 at 2:15 PM Netzwerkprofi ***@***.***> wrote:
It's been a while with your posts, but i would like to get the local web
login as well for the RoCon G1 Gateway. Does somebody know it or has a link
where to find it in the internet? Thank you very much.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIE7E5O4AWIJU7IKVOPJ63DRUYWEDANCNFSM4ELUVBSA>
.
--
--
With regards,
Eugene Sudyr
|
hello everybody, could somebody please better explain the latest command ? i've succesfully booted my rocon with de default debian image...i've downloaded the "rotex-g1 mmc disk copy", unpacked and copied to an USB disk...inserted the disk on the rocon i can see: /dev/disk/by-uuid/02390581-cea5-463e-a991-c0c731100cf8 ext4 3.5G 530M 2.8G 16% / is it that right ? what to do now ? Regards |
ok...i've done everything...but now i can't install python modules eg pika or can...how do you do that ? |
same problem... is there a solution or we have to update to the newest debian for beagleboard? LG |
hello,
i don't know, updating, i guess, we will lost the cloud part of the
controller...
Il giorno gio 28 ott 2021 alle ore 15:23 filozof83 ***@***.***>
ha scritto:
… ok...i've done everything...but now i can't install python modules eg pika
or can...how do you do that ?
same problem... is there a solution or we have to update to the newest
debian for beagleboard? LG
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANBFI22BHL3XROUE36QJGITUJFMF7ANCNFSM4ELUVBSA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
it looks like in the G1 image there is an interesting list of commands here: |
Hello. I have Rocon-g1 device. I get access to web with admin password. this interface have API functionality. maybe someone know where I can get API docs? Ed |
Use this, it's even better: https://github.com/Trunks1982/Daikin-Rotex-HPSU-CAN-Seriell?tab=readme-ov-file You can completely control and monitor the heat pump and also save energy when defrosting. |
Hello, yes, I know this. I already order to make 5 boxes. I can sell some of those, as I only need 3. Ed |
hi, were you able to access the rocon g1 locally? via the web page? are there any default credentials? |
It's simple. get ssh access to device. then change source code for authentication && to || (user and password) to (user or password), Ed |
hello, nice, but what about the english version ? Is it possible to have
the .bin in english ?
Il giorno mar 21 gen 2025 alle ore 06:09 ldnrktml ***@***.***>
ha scritto:
… Use this, it's even better:
https://github.com/Trunks1982/Daikin-Rotex-HPSU-CAN-Seriell?tab=readme-ov-file
You can completely control and monitor the heat pump and also save energy
when defrosting.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANBFI235RN4ROFJHV6KRSNT2LXJA7AVCNFSM6AAAAABVRFWEGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBTGY3DSMJSG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
hello, not sure what .bin file mention there. |
Hi, thanks for the info, I'll try these days, but then having the rocon g1. Can I read the data with this integration? Or do I still have to connect ESPhome? Sorry if I ask directly but I've been trying for 4 years! |
Hello, rocon g1 web interface allow to create API key, but unfortunetly I don't know where to get a documentation :( Ed |
With my HPSU compact I got Rotex rocon-g1 gateway, to run it using Rotex Cloud. I don't like that much, so I tried to check what's inside and found Beagle Bone Black with CAN module.
https://www.heizungsdiscount24.de/regelungstechnik/rotex-gateway-rocon-g1-zur-ankopplung-der-steuerung-an-das-internet.html
I got root to the device and found there Debian
I installed can-utils and can dump can frames:
I had to install python from sources to get working as python in packages is outdated. I'm not sure what driver use to get it working?
Need your help to get pyHPSU working with can0 in this device.
The text was updated successfully, but these errors were encountered: