EnOcean Hub USB310 does not work

Hello,
here I have a controller Enocean USB310 and I connected it to my raspberry pi3. I activated Enocean by proceeding as suggested by the configuration of the component: https://www.home-assistant.io/components/enocean/. How does this key work in HA?
(while in Domoticz, it works)

My configuration is:
enocean:
device: / dev / ttyAMA0
logger:
default: warn
logs:
homeassistant.components.enocean: debug

The log (in “i” is that?) Gives nothing. Where else can I see the log to verify that the EnOcean key works well?

Hi, I don’t have the USB310 but USB300.
Mine ist recognized as /dev/ttyUSBx, are you sure about ttyAMAx?

Hello eXtatic and thanks for your answer,

I put ttyUSB0 and rebooted HA.

In “i” and “full home assistant log”, I have this for an AFRISO Velta thermostat:
2019-06-02 12:15:14 DEBUG (Thread-2) [homeassistant.components.enocean] Received packet radio: 01: 82: C5: AE-> FF: FF: FF: FF (-74 dBm): 0x01 [0xa5, 0x0, 0x9a, 0x77, 0x8, 0x1, 0x82, 0xc5, 0xae, 0x0,] ‘0xff’, ‘0xff’, ‘0xff’, ‘0x4a’, ‘0x0’] OrderedDict ()

It works, but I still do not know if my key ONLY works (without sensor). In which log, can we see if the key is operational?

I went to see in the history, I did not find my EnOcean key. By cons, the key Z-Wave is present.
My general impression is that taking into account everything that revolves around Enocean is not successful in HA

When I have a look at the Enocean components there seems to be none for thermostats, maybe submit a feature request?

yes you can submit a feature request to HA developers. I am a novice on HA.

On your side, do you have a NODON STPH-2-1-05 sensor and it works in HA? If so, what are your settings in configuration.yaml?

No, I do only have a 4 button switch so far since I liked the idea of a non-battery switch

Hi,

I bought a USB310 to control my Enocean equipment and I’ve got no problem !
Did you succeed ?

Hello Will711990,
apologize for being late for my answer.
I did not have a problem with the USB310 but I still have not managed to pair the NODON STPH-2-1-05 sensor.

Do you have an idea for this sensor?

HI,
first verify the USB-Stick USB 300 (DB/DC) with TCM300 or TCM310 module is the right one, with:

`ls /dev/serial/by-id/*

in my case: /dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DB_FT3G3REQ-if00-port0

and with this configuration, it should work:

# Example configuration.yaml entry
## EnOcean Config USB300 DB
enocean:
  device: /dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DB_FT3G3REQ-if00-port0
  ## above your stick DEV-ID
  
## nodon Humidity STPH-2-1-05 (EEP: A5-04-01)
sensor:
  - name: Wohnzimmer Humidity
    platform: enocean
    id: [0x05,0x8E,0x3C,0x5A]
    ## above your device ID, you find it on the Label.
    device_class: humidity
## nodon Temperature STPH-2-1-05 (EEP: A5-04-01)
  - name: Wohnzimmer Temperature
    platform: enocean
    id: [0x05,0x8E,0x3C,0x5A]
    ## above your device ID, you find it on the Label.
    device_class: temperature
    range_from: 0
    range_to: 250

Hello Them,
thanks for your reply and sorry for the delay …

Following your answer, I applied the command under root in Putty:

`ls / dev / serial / by-id / *
-bash: / dev / serial / by-id / usb-0658_0200-if00: Permission denied

How to solve the problem of “permission denied”?

did you try?

ls /dev/serial/by-id/*

Hello Them,

I have this with Putty in Hass.io:
~ $ ls / dev / serial / by-id / *
/ Dev / serial / by-id / usb-0658_0200-if00
~ $
I have no port behind.

My EnOcean usb stick is TCM310 and in my configuration.yaml file it is known as:

enocean:
device: / dev / ttyUSB1

It works with Afriso thermostats but not with Nodon

Try to use:

/dev/serial/by-id/usb-0658_0200-if00

insted of:

/dev/ttyUSB1

But is this the only stick? Because this is a Z-Wave stick and not a EnOcean stick, so the NodOn will not work.

I tried with / dev / serial / by-id / usb-0658_0200-if00

It doesn’t work, I lose my EnOcean Afriso / Velta thermostats.

When I reset / dev / ttyUSB1, I have my EnOcean thermostats

/ dev / ttyUSB1 is the TCM310 key and not Zwave.

My Zwave key is / dev / ttyACM0
My RFXCOM key is / dev / ttyUSB0

The NODON STPH-2-1-05 sensor is from the EnOcean protocol

How do you get a log of what’s going on?

what do you see in hardware under hass.io (supervisor) ?

If you run this command:
ls /dev/serial/by-id/*

there is only: /Dev/serial/by-id/usb-0658_0200-if00?
because this is in my opinion a z-wave key.
If there is no other device, the TCM310 is not recognised by the OS.

Wich kind of rfxcom key is it?

The enocean Afriso thermostats working in HA?

Did you configure under sensor the nodon?
Could you pls send the config of the nodon?

Hello Them,
in hardware under supervisor, the USB keys are:

serial:
/ Dev / ttyUSB1
/ Dev / ttyUSB0
/ Dev / ttyACM0
/ Dev / ttyAMA0
/ Dev / serial / by-id / usb-FTDI_FT232R_USB_UART_AI05WNG4-if00-port0
/ Dev / serial / by-id / usb-0658_0200-if00
/ Dev / serial / by-id / usb-RFXCOM_RFXtrx433_A12IS2F4-if00-port0

My physical USB keys ARE:

USB1 corresponds to the EnOcean TCM310 key
USB0 corresponds to RFXCOM RFXtrx433E key
ACM0 corresponds to the Z-wave Z-Stick Gen5 key from AEOTEC
AMA0 corresponded to the memory key of the wifi network at the start of HA disconnected for 9 months

My configuration.yaml file attests to this:

Zwave:
usb_path: / dev / ttyACM0
rfxtrx:
device: / dev / ttyUSB0
enocean:
device: / dev / ttyUSB1

My equipment associated with all my keys works except NODON.

Executing the command “ls / dev / serial / by-id / *” gives this under Putty:

~ $ ls / dev / serial / by-id / *
/ Dev / serial / by-id / usb-0658_0200-if00
/ Dev / serial / by-id / usb-FTDI_FT232R_USB_UART_AI05WNG4-if00-port0
/ Dev / serial / by-id / usb-RFXCOM_RFXtrx433_A12IS2F4-if00-port0

Already at this level, there is a problem: The FTDI key has not been connected for months and I still have this information. How do we get rid of this FTDI info?

You are right: I physically unplugged the Z-Wave key and I rebooted HA: the info / dev / serial / by-id / usb-0658_0200-if00 was gone. This is the Z-Wave key.

However, the EnOcean TCM310 key is USB1 and I don’t have the info like you: / dev / serial / by-id / usb-EnOcean_GmbH_EnOcean_USB_310 … etc.

My TCM310 key works: my Afriso thermostats work in HA and raise their temperatures well with EnOcean.

For the last 2 questions, here is my information:

1 - in the configuration.yaml file:
-------------------------------------------------- —
enocean:
device: / dev / ttyUSB1

2 - in the sensors.yaml file :

  • platform: enocean
    name: TSalon
    id: [0x05,0x11,0x77,0x46]
    device_class: temperature

  • platform: enocean
    name: HSalon
    id: [0x05,0x11,0x77,0x46]
    device_class: humidity

3 - in the “development tools” and newspapers:
-------------------------------------------------- ------------------------
2020-02-13 20:22:34 INFO (Thread-3) [enocean.communicators.SerialCommunicator] SerialCommunicator started

2020-02-13 20:24:46 DEBUG (Thread-3) [homeassistant.components.enocean] Received radio packet: 05: 11: 77: 46-> FF: FF: FF: FF (-41 dBm): 0x01 [‘0x30’, ‘0xf2’, ‘0xf9’, ‘0x13’, ‘0x41’, ‘0x6e’, ‘0x16’, ‘0x64’, ‘0xb7’, ‘0x5’, ‘0x11’, ‘0x77’, ’ 0x46 ‘,’ 0x0 ‘] [’ 0x1 ‘,’ 0xff ‘,’ 0xff ‘,’ 0xff ‘,’ 0xff ‘,’ 0x29 ‘,’ 0x0 '] OrderedDict ()
2020-02-13 20:24:46 DEBUG (Thread-3) [enocean.communicators.SerialCommunicator] 05: 11: 77: 46-> FF: FF: FF: FF (-41 dBm): 0x01 [‘0x30’ , ‘0xf2’, ‘0xf9’, ‘0x13’, ‘0x41’, ‘0x6e’, ‘0x16’, ‘0x64’, ‘0xb7’, ‘0x5’, ‘0x11’, ‘0x77’, ‘0x46’, ’ 0x0 ‘] [’ 0x1 ‘,’ 0xff ‘,’ 0xff ‘,’ 0xff ‘,’ 0xff ‘,’ 0x29 ‘,’ 0x0 '] OrderedDict ()

But in lovelace:
humidity hsalon gives the value unknown
and temperature tsalon gives the unknown value

Hello, I am highly interested in EnOcean technology. I wonder if someone has one of my device id e.g. (id: [0x05,0x8E,0x3C,0x5A]) the sensor/ actor can be read/controlled? Thanks in advance!

Hello, I can’t help you at the moment because my pc has died. Regarding my temperature sensor, I have not made any progress. Sorry. Good day