Search found 161 matches

by petergebruers
11 Dec 2017 19:13
Forum: Z-Uno
Topic: Z UNO Relay
Replies: 4
Views: 105

Re: Z UNO Relay

by petergebruers
25 Nov 2017 19:02
Forum: Z-Uno
Topic: Error when uploading sketch
Replies: 4
Views: 141

Re: Error when uploading sketch

I have seen something similar, but I cannot remember what caused it. Long shot: do you use debugging via serial over usb? I have been using debugging over seria uartl instead of usb for the last few months, and I think that might have solved it.
by petergebruers
25 Nov 2017 18:57
Forum: Z-Uno
Topic: No ACK before Reset
Replies: 10
Views: 247

Re: No ACK before Reset

Sounds like a plan... good luck!
by petergebruers
25 Nov 2017 18:36
Forum: Z-Uno
Topic: No ACK before Reset
Replies: 10
Views: 247

Re: No ACK before Reset

I was typing while you were typing :-) So I just added this to the previous post: "I think this simply flushes your input queue... Edit: so it is probably there to restore synchronisation in case something went wrong." From my tests with serial ports I remember this.But I cannot verify it because I ...
by petergebruers
25 Nov 2017 17:58
Forum: Z-Uno
Topic: No ACK before Reset
Replies: 10
Views: 247

Re: No ACK before Reset

I am not an expert but I would like to share this because it might help... I am sorry if it does not answer your question. I'm use a CO2 sensor with serial interface, and this is how I "talk" to the sensor In setup I do: // Data exchange takes less than 10 ms. Add some safety margin... // This is le...
by petergebruers
25 Nov 2017 13:31
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 490

Re: Controller does not get ack from z-uno

(...) I store an array of last reported values and each loop call finds one channel that needs to be reported (comparing actual and last reported value), reports and updates last reported value. Also there is a check to run this process not once per 100ms. Thus z-uno sends reports only for one chan...
by petergebruers
24 Nov 2017 16:35
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 490

Re: Controller does not get ack from z-uno

PoltoS wrote:
24 Nov 2017 16:29
One because controller polls the channel it controls - it do not know about mapping and don't poll the mapped one
Sure! Got it! Thanks!

So my log in the previous post is 100% as expected and represents 100% of all the real trafic between controller and device. Good to know.
by petergebruers
24 Nov 2017 12:54
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 490

Re: Controller does not get ack from z-uno

The only thing I do not understand, is why channel one getter is called three times instead of two... Because Z-Uno does unsolicited report on the channel and in the mapped non-channeled CC. Thank you for your fast reply. I think I get what you mean, but how do I get three reports? One unsolicited ...
by petergebruers
24 Nov 2017 09:21
Forum: Z-Uno
Topic: Z-Uno not sending reports properly
Replies: 7
Views: 183

Re: Z-Uno not sending reports properly

That is good news. Yes, you can get debug output with the addition of a bit of inexpensive hardware and without powering your Z-Uno through USB. Please give me some time, I'll make a document with explanation, pictures and links... As far as I can tell, it cannot be done over the radio, only via UAR...
by petergebruers
23 Nov 2017 23:23
Forum: Z-Uno
Topic: Z-Uno not sending reports properly
Replies: 7
Views: 183

Re: Z-Uno not sending reports properly

Today I posted a script with lots of debugging info. It also prints timestamps, so it is easier to see how fast or slow things are. Maybe it can inspire you.

viewtopic.php?f=3427&t=25768#p71723