Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jonaspaulo

Pages: [1]
1
Users / Re: Help needed in specific configuration
« on: April 10, 2010, 03:50:07 pm »
@totallymaxed some other questions, isn't there documentation about all the functions available to use or at least the most needed ones? Another thing , regarding the sensors how is handled the communication between them and LMCE? I mean i need to code the sensors to send their info periodically to the network in order to LMCE catch that info? Or do i implement some sort of polling algorithm or other method? thanks

2
Users / Re: Help needed in specific configuration
« on: April 01, 2010, 03:40:39 am »
hm i see, i will work on it and update this. since the sensors aren't ready yet and i have to continue my part of the project, i will simulate a sensor in some pc in the network for now. thanks a lot for the help

3
Users / Re: Help needed in specific configuration
« on: April 01, 2010, 12:25:18 am »
yes that is my doubt also. my job in the project is the part of integration with linuxmce, and the part of sensors is of other persons, and of course i need to know that. but since it is already in a open state, what would be the best approach to seamelessly integrate with linuxMCE?

4
Users / Re: Help needed in specific configuration
« on: March 31, 2010, 10:56:56 pm »
Quote
and have connected via SPI or CAN some sensors

 through GPIO pins in the switches

5
Users / Re: Help needed in specific configuration
« on: March 31, 2010, 01:09:21 pm »
as i said they are all three normal network switches (http://en.wikipedia.org/wiki/Network_switch) running openwrt , but the uses are different :) the first one acts as a normal network switch and it allows me to just connect the other two. This other two, S2 and S3 connect to the "main" one and have connected via SPI or CAN some sensors. thanks

6
Users / Re: Help needed in specific configuration
« on: March 30, 2010, 08:48:19 pm »
@sambuca thanks i am trying to code now the general control template to S2 and S3 switches (they are the same brand) , seeing the one for gc100 but it has code god knows what that does lol, but i am trying to do something by looking into it :/

@totallymaxed no, i mean the sensors themselves aren't connected directly to the switch via RJ45 socket but instead via SPI protocol, or CAN protocol, so i guess S1 doesn't need a DT and S2-S3 need as sambuca mentioned no?

7
Users / Re: Help needed in specific configuration
« on: March 30, 2010, 02:59:48 pm »
1. yes they are just ethernet switches, so there's no need to even add it somehow to linuxmce right? just plug

2. yes that approach would be the best one, i didn't know it was possible. so the ZWaveDT/Device equivalent in my scenario would be S2 and S3 which have the sensors connected to them. and yes i guess its easier to create code to act in the switches. So for the sensors i just mimic templates which similar functions to mine (like motion sensor, etc) and then control then via the "central driver" right?

Another thing how should i create that "central driver"? I have to associate it with some switch? (S2 and S3) , create the template and then implement the code?

Thanks a lot for the info

8
Users / Re: Help needed in specific configuration
« on: March 30, 2010, 12:11:28 pm »
So as "possy" in the irc suggested,  i will present here the questions, nor the system though ( you can read it please in the pdf , its easier than post here).

The goal is to connect the sensors to LinuxMCE, they all provide their info via TCP/IP since they are connected to the switches and provide their info through the ethernet ports, i need to make the code in c++ on the end of LinuxMCE to receive that data.

Question 1 - I have three switches in the system, one to raise the number of lan ports (S1), and the other two which have sensors connected to them via SPI, rs2323, CAN. The S1 is connected to the core pc, and the other two are connected to this first one. Do i need to create a template device for any of the switches ( the main one and the sensor's ones) or letting the system know them in any way? (since they are just used to interconnect the system?)

Question 2 - For the sensors themselves should I mimic for example the motion sensor, the one you already have in the system? in terms of events, commands ,etc for the template? And what differs from yours is the real implementation c++ code?


THanks


9
Users / Re: Help needed in specific configuration
« on: March 30, 2010, 11:08:20 am »
yes IP based. But don't i need to add templates at least to SW 2 and 3 as interface devices to the sensors? Since i think all sensors must have an interface device? Thanks for looking into it

10
Users / Re: Help needed in specific configuration
« on: March 29, 2010, 10:42:00 pm »
Well I made a .pdf in order to present my linuxmce network config and expose some doubts. If someone can please read it and tell me something about it i would be very appreciated since my schedule to deliver the project is tighten up and I am not moving on :/

here is the link: http://filebin.ca/kwccfg


11
Users / Re: Help needed in specific configuration
« on: March 16, 2010, 03:06:01 pm »
I posted this entry in the wiki http://wiki.linuxmce.org/index.php/Startup_Info_For_Developers#.27.27.27First_Steps_in_making_your_own_device_driver.27.27.27__.28WIP.29  and today i was testing it to see if everything is ok. But before that i was trying to add a general usb cam to the system, and as i am doing that i got a warning of low harddrive free space left 0o. How is it possible? i haven't done almost nothing nor installed nothing. and my hard drive is 60 gb :S

12
Users / Help needed in specific configuration
« on: March 15, 2010, 12:21:44 pm »
Hello, i have been talking in the IRC channel, and so I will copy here what I've said there. Hope someone can help. Thanks

Code: [Select]
[11:12:46]  <jonaspaulo_> lets say i have a 4 switch openwrt board with a sensor connected via spi or uart
[11:13:02]  <jonaspaulo_> how can i integrate the sensor with linuxMCE?
[11:13:23]  <jonaspaulo_> i mean i plug via ethernet the core to one ethernet port on the switch
[11:13:33]  <jonaspaulo_> but afterwards how do i access the sensor data
[11:14:02]  <jonaspaulo_> lets assume the processing of data is already passed through the spi to the ethernet port
[11:14:08]  <possy> jonaspaulo_, open up a thread in the forum. I am sure hari will have some information for you
[11:14:17]  <jonaspaulo_> kk
[11:14:19]  <jonaspaulo_> will do
[11:14:24]  <jonaspaulo_> cause my project
[11:14:37]  <jonaspaulo_> has sensors connected to various openwrt boards
[11:14:52]  <jonaspaulo_> like zigbee which i talked to TSCHAKeee2  about
[11:15:02]  <jonaspaulo_> possibly trying to do some drivers for it
[11:15:12]  <jonaspaulo_> like bluetooth with an ethernet bridge also
[11:15:16]  <jonaspaulo_> a vga cam
[11:15:20]  <jonaspaulo_> and some wireless sensors
[11:15:36]  <jonaspaulo_> but none has really and outgoing connection like usb or rs232
[11:15:45]  <jonaspaulo_> and instead are connected directly to the openwrt board
[11:16:13]  <jonaspaulo_> the goal was to integrate all this in linuxmce

Pages: [1]