-
Notifications
You must be signed in to change notification settings - Fork 103
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
ubiwizz "MICITRV004-QM" Profile A5-20-01 #80
Comments
Hi, I work on this device, But i still have a problem for link the controller to the device (for send message) I execute the example file "example_DO21-11B-E.py" without the turn_on and turn_off command, My test script : -- encoding: utf-8 --from enocean.consolelogger import init_logging from enocean.protocol.constants import PACKET, RORG try: def send_command_temp(destination, output_value): def target_temp(destination): init_logging() endless loop receiving radio packetswhile communicator.is_alive():
if communicator.is_alive(): The response :
|
Hi, I still have trouble to work with A5-20-01 profile, It's work on Fhem, but i really want to work with Python. Can you tell me how i can do to put in teach mod and send the correct packet to the device ? Fhem Code : ` # bidirectional 4BS teach-in }` Thanks by advance ;) |
Hi, |
Hi,
I try to communicate with this EnOcean Thermostat,
I can read packet, but i can't set a new target temp.
I think the problem was link to the learn function.
My question is probably stupid and i'm sure it's easy but,
how can i put the controller in teach-in ?
And after what packet i need to send to set the target temp.
I don't receive all data (contain in the eep ) from the device,
only current temp and target temp...
Really sorry, but i try to add this device in home assistant.
My test code :
`#!/home/hass/homeassistant/bin/python3
-- encoding: utf-8 --
from enocean.consolelogger import init_logging
import enocean.utils
from enocean.communicators.serialcommunicator import SerialCommunicator
from enocean.protocol.packet import RadioPacket
from enocean.protocol.constants import PACKET, RORG
import sys
import traceback
try:
import queue
except ImportError:
import Queue as queue
def assemble_radio_packet(transmitter_id):
return RadioPacket.create(rorg=RORG.BS4, rorg_func=0x20, rorg_type=0x01,
sender=transmitter_id,
destination=[0x05, 0x06, 0x78, 0xBE],
TMP=20)
init_logging()
communicator = SerialCommunicator('/dev/ttyS1')
communicator.teach_in = True
communicator.start()
print('The Base ID of your module is %s.' % enocean.utils.to_hex_string(communicator.base_id))
if communicator.base_id is not None:
print('Sending example package.')
communicator.send(assemble_radio_packet(communicator.base_id))
endless loop receiving radio packets
while communicator.is_alive():
try:
# Loop to empty the queue...
packet = communicator.receive.get(block=True, timeout=1)
if communicator.is_alive():
communicator.stop()`
The text was updated successfully, but these errors were encountered: