# A CAN-bus to Homey

**URL:** <https://community.homey.app/t/a-can-bus-to-homey/98544>\
**Category:** Questions & Help\
**Created:** [December 21, 2023, 9:57am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544 "2023-12-21T09:57:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![niels\_van\_ruijven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_van_ruijven/32/81020_2.png) [@niels\_van\_ruijven](https://community.homey.app/u/niels_van_ruijven)\
**Post date:** [December 21, 2023, 9:57am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/1 "2023-12-21T09:57:06Z")

</div>

Hello,  
Is it possible to connect a CANbus connecting to homey,

---

<div class="post-metadata">

**Author:** ![Joost\_Else](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joost_else/32/17360_2.png) [@Joost\_Else](https://community.homey.app/u/Joost_Else)\
**Post date:** [December 22, 2023, 8:24am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/2 "2023-12-22T08:24:06Z")

</div>

Not directly, homey does not have CAN drivers nor does it have software support. You’ld need to build a hub for it (e.g. using can shield on a microcontroller board) and convert the messages to something that homey understands. Homeyduino could probably do something.

Do note however that “canbus” covers the lowest layers in the OSI model only - up to transport layer I guess. Anything above that needs to be converted on your hub to something that can be understood by homey.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [December 22, 2023, 9:42am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/3 "2023-12-22T09:42:20Z")

</div>

You can use such a device shown in the link to connect Canbus to Homey at the lower layers. Connecting the serial bus of Canbus to Ethernet of Homey. Then you can have a look at available Modbus apps how to make an app. Looks a little bit complicated.

> **[Anybus Communicator CAN - Modbus TCP | Twincomm](https://twincomm.nl/en/canbus/communicator/modbus-tcp)**
>
> Intelligent CAN to Modbus TCP data converter, gateway, communicator by Anybus

---

<div class="post-metadata">

**Author:** ![niels\_van\_ruijven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_van_ruijven/32/81020_2.png) [@niels\_van\_ruijven](https://community.homey.app/u/niels_van_ruijven)\
**Post date:** [December 22, 2023, 10:43am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/4 "2023-12-22T10:43:30Z")

</div>

thanks for the info  
i am trying now to have a esp32 as a hub between my homey and my canbus. i have a script that is for the connection between my homey and esp but i can’t see it on my homey hub. the esp is connected to the internet and the homey is also connected to the same internet. if i do a netscan on the homey and type in the ip adress of the esp it says that the device is offline. what could i do about it

---

<div class="post-metadata">

**Author:** ![niels\_van\_ruijven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_van_ruijven/32/81020_2.png) [@niels\_van\_ruijven](https://community.homey.app/u/niels_van_ruijven)\
**Post date:** [December 22, 2023, 10:45am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/5 "2023-12-22T10:45:41Z")

</div>

> <https://github.com/athombv/homey-arduino-library/blob/master/examples/Getting%20started/ESP32/ESP32.ino>

this is the script that i used

---

<div class="post-metadata">

**Author:** ![Joost\_Else](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joost_else/32/17360_2.png) [@Joost\_Else](https://community.homey.app/u/Joost_Else)\
**Post date:** [December 22, 2023, 11:49am UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/6 "2023-12-22T11:49:32Z")

</div>

Can you see the device on your router? If not, the device is not configured correctly (net / password error?). If you can see it and you can see homey on the same network the network connection at least works.

How did you add the device in the homeyduino app? Manual or automatic? Does the device have a fixed IP address or does it use DHCP?

---

<div class="post-metadata">

**Author:** ![niels\_van\_ruijven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_van_ruijven/32/81020_2.png) [@niels\_van\_ruijven](https://community.homey.app/u/niels_van_ruijven)\
**Post date:** [December 22, 2023, 12:35pm UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/7 "2023-12-22T12:35:00Z")

</div>

i changed my internet connection and now my esp is connected with my homey

---

<div class="post-metadata">

**Author:** ![niels\_van\_ruijven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_van_ruijven/32/81020_2.png) [@niels\_van\_ruijven](https://community.homey.app/u/niels_van_ruijven)\
**Post date:** [December 22, 2023, 12:35pm UTC](https://community.homey.app/t/a-can-bus-to-homey/98544/8 "2023-12-22T12:35:12Z")

</div>

thanks for the help
