Toon as a domotica controller?
Moderators: marcelr, TheHogNL, Toonz
Re: Toon as a domotica controller?
Nice work Marcel
Re: Toon as a domotica controller?
It's a 3.3V signal level serial port, so no. Wouldn't try to put proper RS232 signal levels on that port.can I just use an older laptop with a serial port with direct wiring of Rx, TX and GND? Or are the voltage levels different?
It should, specs state that it's a 3.3V device. I'm not very fond of this particular chipset, but that's a matter of taste.
Nope, after more than three years on this forum I still have no clue how to upload pictures and make them visible in a post. Sorry about that.Can someone attach a photo of the connector side just to be damn sure about this and not screw anything?
The good News is that pin 1 on the 14-pin connector is marked with a 1. The same row of 7 holds all the odd pin numbers, counting up monotoneously. The other row starts with pin 2 next to pin 1 and counts up in the same direction as the odd row. Make sense?
Thanks. But don't forget to mention Ierlandfan. The pin-shorting rooting process, u-boot, init and iptables stuff, and lots more were all his ideas.Nice work Marcel
grtz,
marcelr
Re: Toon as a domotica controller?
thanks Ierlandfan and marcelr
Re: Toon as a domotica controller?
You can use picoolio to host imagesmarcelr wrote:Nope, after more than three years on this forum I still have no clue how to upload pictures and make them visible in a post. Sorry about that.
Re: Toon as a domotica controller?
I'll give it a shot. I mean, how hard can uploading a picture be? At least it shouldn't be more difficult than hacking a Toonmarcelr wrote:Nope, after more than three years on this forum I still have no clue how to upload pictures and make them visible in a post. Sorry about that.Can someone attach a photo of the connector side just to be damn sure about this and not screw anything?
I admit it's not the clearest picture, but along with the description it should give enough confidence to proceed.
Schelte
Re: Toon as a domotica controller?
Can't say that I tried very hardI mean, how hard can uploading a picture be? At least it shouldn't be more difficult than hacking a Toon
grtz,
marcelr
Re: Toon as a domotica controller?
The topic of this thread is "Toon as a domotica controller?".
Now that the word about rooting is spreading, it's time to move on.
I have been tapping into the z-wave communication, but my z-wave knowledge is next to nothing. As a test, I want to get readings from the P1-zwave interface. So, attached to this post is a log from openZSniffer (basically interceptty with a twist). This program logs all serial IO between the z-wave interface and the processor (until stopped). Can any of you make sense of this file?
Will proceed with running hcb_zwave through strace, but not yet. I can only do that during weekends or longer periods of spare time, when my wood stove is heating the house. Don't want to leave my family in the cold.
grtz,
marcelr
Now that the word about rooting is spreading, it's time to move on.
I have been tapping into the z-wave communication, but my z-wave knowledge is next to nothing. As a test, I want to get readings from the P1-zwave interface. So, attached to this post is a log from openZSniffer (basically interceptty with a twist). This program logs all serial IO between the z-wave interface and the processor (until stopped). Can any of you make sense of this file?
Will proceed with running hcb_zwave through strace, but not yet. I can only do that during weekends or longer periods of spare time, when my wood stove is heating the house. Don't want to leave my family in the cold.
grtz,
marcelr
- Attachments
-
- openzsniffer.log.zip
- log of serial IO with zwave interface
- (5.73 KiB) Downloaded 492 times
Re: Toon as a domotica controller?
OK, I'll give it a shot (attachment, not an inline image ):
If you don't like the root window of toon, it's easily changed :
If you don't like the root window of toon, it's easily changed :
- Attachments
-
- Big_Brother_is_watching_YOU.jpg (42.53 KiB) Viewed 17004 times
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Re: Toon as a domotica controller?
A few additions:
My Toon (version 3.1.x) seems to use port 10080 instead of 7080 for webserver.
The 7080 param in hcb_project.xml is ignored.
So use that port in iptables.conf.
You can reload new rules by running 'iptable-restore </etc/default/iptables.conf'
So you don't need to reboot
You must set a new root password otherwise sshd doesn't let you login.
So use passwd command after editing /etc/passwd
My Toon (version 3.1.x) seems to use port 10080 instead of 7080 for webserver.
The 7080 param in hcb_project.xml is ignored.
So use that port in iptables.conf.
You can reload new rules by running 'iptable-restore </etc/default/iptables.conf'
So you don't need to reboot
You must set a new root password otherwise sshd doesn't let you login.
So use passwd command after editing /etc/passwd
Regards, Ron.
Re: Toon as a domotica controller?
There's no need to edit /etc/passwd first. You can just immediately set the password with the passwd command.
Schelte
Re: Toon as a domotica controller?
Not sure, in general, passwd asks for the current password first, before changing to a new one. Unless your password field is empty OR you happen to know the password, you cannot set it to a new value. Toon's busybox could be so broken that you're actually right (Can't test, I'm far far away from my toon right now).You can just immediately set the password with the passwd command.
Then again, with your input and from other people, I will update the rooting recipe (probably this weekend).
grtz,
marcelr
Re: Toon as a domotica controller?
Not when you're root.marcelr wrote:Not sure, in general, passwd asks for the current password first, before changing to a new one.
Schelte
Re: Toon as a domotica controller?
This forum is "amazing", my posts appear days after I post them
Re: Toon as a domotica controller?
I think I just broke the ten posts barrier so I don't need a moderator to approve every postal_n wrote:This forum is "amazing", my posts appear days after I post them