• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight Nano USB interface
#31
Can you open a github issue about that?
 
Reply
#32
Done: https://github.com/pilight/pilight/issues/154

Do you have any ideas where my problems may come from? I guess it is the inner communication in pilight, as pilight-raw and pilight-debug work. I guess these are completely stripped down. This might give some pointers.
 
Reply
#33
Altough the last update did solve the segfaults, still it doesn't work for me. I'll be putting the 433nano project aside for now and wait till others have their nano and everything working. Perhaps I might try a Ubuntu VM someday to see if that makes a difference.
 
Reply
#34
Love to investigate this further when i have time.
 
Reply
#35
Me too ;-) . But no hurry. The pi is still running strong!
 
Reply
#36
Great!

I have also tested this on my arduino nano v3, but i have the problem that i can't send with my 433mhz module, receiving works perfect with barely load on the daemon.
When i try to send something i do see the (i think rx) led light up on the arduino, so it seems to be fine on the pilight config side. The 433 module works fine with sending when using the gpio.

Are there some ways i can check what is going wrong?
I'm pretty sure i wired everything fine. The arduino is new though and i have no idea if pin D5 maybe is broken, can i check it on another port?
 
Reply
#37
Can you check with a LED on D5?
 
Reply
#38
The hardware module was indeed broken. Should be fixed again in the latest nightly code. Please test Smile
 
Reply
#39
Hey

I have a Arduino EtherTen
the device use a ATmega328P

It didn't work with the flash application

Code:
C:\Windows\system32>"C:\pilight\pilight-flash.exe" -f "C:\pilight\pilight_usb_na
no.hex" -p com7
[Apr 02 21:09:33:910868] pilight-flash: INFO: **** START UPD. FW ****
[Apr 02 21:09:33:910868] pilight-flash: INFO: Indentifying microprocessor
[ Apr 02 21:09:37:31837] pilight-flash: ERROR: stk500_getsync() attempt 1 of 10:
not in sync: resp=0x73
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 2 of 10:
not in sync: resp=0x4e
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 3 of 10:
not in sync: resp=0x98
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 4 of 10:
not in sync: resp=0xe6
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 5 of 10:
not in sync: resp=0xcb
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 6 of 10:
not in sync: resp=0x9d
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 7 of 10:
not in sync: resp=0x0f
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 8 of 10:
not in sync: resp=0x9d
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 9 of 10:
not in sync: resp=0xd6
[ Apr 02 21:09:37:47461] pilight-flash: ERROR: stk500_getsync() attempt 10 of 10
: not in sync: resp=0xeb
[Apr 02 21:09:37:328712] pilight-flash: INFO: Not an ATMega328P
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 1 of 10:
not in sync: resp=0x73
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 2 of 10:
not in sync: resp=0x4e
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 3 of 10:
not in sync: resp=0x98
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 4 of 10:
not in sync: resp=0xe6
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 5 of 10:
not in sync: resp=0xcb
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 6 of 10:
not in sync: resp=0x9d
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 7 of 10:
not in sync: resp=0x0f
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 8 of 10:
not in sync: resp=0x9d
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 9 of 10:
not in sync: resp=0xd6
[Apr 02 21:09:40:438095] pilight-flash: ERROR: stk500_getsync() attempt 10 of 10
: not in sync: resp=0xeb
[Apr 02 21:09:40:712376] pilight-flash: INFO: Not an ATTiny45
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 1 of 10:
not in sync: resp=0x73
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 2 of 10:
not in sync: resp=0x4e
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 3 of 10:
not in sync: resp=0x98
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 4 of 10:
not in sync: resp=0xe6
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 5 of 10:
not in sync: resp=0xcb
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 6 of 10:
not in sync: resp=0x9d
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 7 of 10:
not in sync: resp=0x0f
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 8 of 10:
not in sync: resp=0x9d
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 9 of 10:
not in sync: resp=0xd6
[Apr 02 21:09:43:821799] pilight-flash: ERROR: stk500_getsync() attempt 10 of 10
: not in sync: resp=0xeb
[ Apr 02 21:09:44:87429] pilight-flash: INFO: Not an ATTiny85
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 1 of 10:
not in sync: resp=0x73
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 2 of 10:
not in sync: resp=0x4e
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 3 of 10:
not in sync: resp=0x98
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 4 of 10:
not in sync: resp=0xe6
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 5 of 10:
not in sync: resp=0xcb
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 6 of 10:
not in sync: resp=0x9d
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 7 of 10:
not in sync: resp=0x0f
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 8 of 10:
not in sync: resp=0x9d
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 9 of 10:
not in sync: resp=0xd6
[Apr 02 21:09:47:196961] pilight-flash: ERROR: stk500_getsync() attempt 10 of 10
: not in sync: resp=0xeb
[Apr 02 21:09:47:462589] pilight-flash: ERROR: AVR unknown
[Apr 02 21:09:47:462589] pilight-flash: INFO: First run firmware_getmp
[Apr 02 21:09:47:462589] pilight-flash: INFO: **** FAILED UPD. FW ****


I also see some people that have a cheap usb device for about 3 euro
does someone have a link where i can get one of them?
 
Reply
#40
Can you check if it works when you flash it from your Pi?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  problems compiling pilight on Odroid C2 WitchDoctor 101 8,184 03-14-2019, 09:01 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 2,579 02-15-2019, 06:22 PM
Last Post: polo
  pilight-debug shows nothing minhdomanh 3 450 10-18-2018, 07:01 AM
Last Post: felfert
  pilight-send and pilight-daemon DieterK 0 499 06-20-2018, 12:44 AM
Last Post: DieterK
  Lights not switched on or off by rules in pilight 8.1.0 rorie 22 2,191 06-12-2018, 03:56 PM
Last Post: curlymo
  check API in pilight 8 stratege-0815 4 1,241 02-11-2018, 09:34 AM
Last Post: stratege-0815
  pilight-receive terminates zackdvd 8 1,462 12-30-2017, 09:07 PM
Last Post: curlymo
  pilight 8.0 / wiringx wupperpi 2 1,707 12-18-2017, 03:25 PM
Last Post: wupperpi
  pilight on RPi with latest Arch stopped working Ypsilon 12 4,467 12-17-2017, 12:43 PM
Last Post: tinusv
  pilight -> Home Assistant crash jmvermeulen 6 1,314 12-11-2017, 09:39 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)