tellstick-net custom firmware build

Moderator: Telldus

philarete
Posts: 54
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by philarete » Thu Jan 18, 2018 11:08 am

yep, sorry of course :D
French is a cool idiom, you know.
Well, yep of course: no compilation problems.
Readin the send.py file, i wrote a little python send and receive script to check comm'..... ant it works fine:

Code: Select all

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import socket, re, sys
UDPSock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
UDPSock.setsockopt(socket.SOL_SOCKET,socket.SO_BROADCAST,1)
UDPSock.setblocking(1)
UDPSock.settimeout(3)
UDPSock.bind( ('', 42314) )
ip="192.168.0.20"
p=30303
UDPSock.sendto("D", (ip,p))
(test, (ip, p)) = UDPSock.recvfrom(2048)
print "coucou"
print test
--->
coucou
TellStickNet:ACCA540004A6:2K3KEXAU9V:X
But i do not understand how listening on telldus events. For example, when i press a chacon switch, i can see telldus blinking. What happens ? I dont know and i do not understand how listening events. Is there a method to do that in documentation ?
Last edited by philarete on Wed Oct 03, 2012 8:47 pm, edited 2 times in total.

ritro
Posts: 51
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by ritro » Thu Jan 18, 2018 11:08 am

@phil alors ? did you success
ImageUsing a Tellstick Net aussi :)

ritro
Posts: 51
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by ritro » Thu Jan 18, 2018 11:08 am

What is blinking, net activity ? I've note it too. The received rf have to be recognize before continue. That's why i want to modify python client to send back binary rf signal to debug new signal. I would like to receive other sensor than thermoter, in example motion sensor or why not rf remote.
ImageUsing a Tellstick Net aussi :)

ritro
Posts: 51
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by ritro » Thu Jan 18, 2018 11:08 am

philarete wrote:But i do not understand how listening on telldus events. For example, when i press a chacon switch, i can see telldus blinking. What happens ? I dont know and i do not understand how listening events. Is there a method to do that in documentation ?
Look at receive.c in rf submodule.
ImageUsing a Tellstick Net aussi :)

philarete
Posts: 54
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by philarete » Thu Jan 18, 2018 11:08 am

Hello, ty
I've noticed the receive.c
But when trying a gcc ./receive.c i never go thru the process
Config.h absent (??)
Htc.h absent....did you succeed in compiling ?

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: tellstick-net custom firmware build

Post by micke.prag » Thu Jan 18, 2018 11:08 am

philarete wrote:But when trying a gcc ./receive.c i never go thru the process
Please read the README file how to compile the firmware. gcc cannot be used. You must use the compiler mentioned in the README.
Micke Prag
Software
Telldus Technologies

ritro
Posts: 51
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by ritro » Thu Jan 18, 2018 11:08 am

Hi, Is there a chance to get other sensor than temperature in telldus live ?
Thanks.
ImageUsing a Tellstick Net aussi :)

ritro
Posts: 51
Joined: Thu Jan 18, 2018 11:08 am

Re: tellstick-net custom firmware build

Post by ritro » Thu Jan 18, 2018 11:08 am

Hi,
Return to custom firmware. I would know if i use the build condition DEBUG=y, is the usart2 initialized communicate by the usb port or do i need to open the tellstick-net ?
ImageUsing a Tellstick Net aussi :)

Post Reply