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 - SBCC

Pages: [1] 2 3 ... 11
1
Developers / Re: Developing a Weather Plugin, videos
« on: March 29, 2015, 06:22:01 pm »
Hi Carlos

I made some changes to the NOAA class. Added the Radar to the wrap and changes the radar image sequence to oldest 1st and limited it to just 3.

Great job with this!!

I will add the night icons to NOAA as well once they are included.

Here is the link
https://www.dropbox.com/sh/o9frlgoybvv1twe/AADffJefSW5pd6KNV87LOoYsa?dl=0

Thanks for all your effort!

Jim

2
Developers / Re: Developing a Weather Plugin, videos
« on: March 22, 2015, 02:23:10 pm »
I agree with Carlos. This will add a better visual to night time weather. Along that thought the more icons the better just not sure where the limit should be for that and why.

Thanks for all the hard work Carlos!

I'm having an issue with testing for WWO as they are having server issues on the development side and cannot issue API keys. Other than that it seems to be running very stable for the last week or so. I see no reason why WWO class should not run the same.

I need to make a "feels like" function as Open Weather Map does not offer that. I was thinking of leaving that in the Weather class so any other weather API class can make use of it if needed.

Also thinking about radar. NOAA uses multiple jpg images that overlay. Would it be best to have the Weather class except multiple images and create 1 from that?

Thanks

Jim

3
Developers / Re: Developing a Weather Plugin, videos
« on: March 18, 2015, 12:14:50 am »
Hi Guys

Sorry I've been distracted.

Carlos I did not have a chance to look at your code but I made some substantial changes to the code. It dose have an Open Weather Map option now.

I removed the mutexes and used the pluto mutexes... though I'm not completely sure how they work. There is a lot of code to look at there. I have 2 classes. 1 for NOAA and one for OWM (Open Weather Map). I will look at your code now Carlos and see how we can merge the two. Thanks for all your help!!

Here is the link to my code;

https://www.dropbox.com/sh/45peimybwaxyg74/AADVuE1L9x07A_5uif4yhSsqa?dl=0

Jim


4
Developers / Re: Developing a Weather Plugin, videos
« on: February 21, 2015, 12:13:43 am »
Open Weather Map allowed us to use their API for free without adding their name on the orbiter. They only requested that we mention them on the website and any wiki page for the weather screen. If this is OK and can be done I will go ahead and add that API as it works for global weather.

5
Developers / Re: Developing a Weather Plugin, videos
« on: February 19, 2015, 01:12:19 pm »
Hi

Below is a link to the current Weather project folder. This depends on libcurl and libjsoncpp. I still want to add some notes and radar is still not implemented but otherwise works fine for NOAA only. I'm still not sure how the pluto_mutexes work and if they are working but it's been running for a day and no crashes yet. In script in the device web admin page Configuration Data I've added a timer to affect the data update time as "timer:'min'". So "timer:10" would get the web data every 10 minutes. This defaults to 5 minutes. I've added defaults for everything. Feedback is appreciated.

https://www.dropbox.com/sh/nd2jtf4eg2jl8pw/AAB9-De03ogqI3AqRbw4VNIza?dl=0

Thanks

Jim

6
Developers / Re: Developing a Weather Plugin, videos
« on: February 17, 2015, 11:57:21 pm »
Hi Carlos

I am making some changes. I'm trying to add some mutexes and I'm working through how LMCE handles those. I need one for curl and one for the the message sender. Give me a little bit.

Thanks for helping

Jim

7
Developers / Re: Developing a Weather Plugin, videos
« on: February 16, 2015, 09:50:41 pm »
Hi

I have a working device in C++ for NOAA only right now. Other APIs can be added as well and I will probalby start looking into others. It does use curl and jsoncpp. I made use of the Configuration Script data already on the template. Uses are "API:??,lat:??,lon:??,units:??,lang:??". Right now only "API:NOAA" works for API. "units:0" is imperial of deg F. "units:1" is metric but right now the text add "F" to the unit. I will fix that. "lang:english" is english, not sure about others but worth trying whatever. I am still testing but if anyone is interested I could get you the code or binary.

Is there any way to add a "Info By" area to the orbiter so APIs that require that can be used?

Thanks

Jim
 

8
Developers / Re: Developing a Weather Plugin, videos
« on: February 13, 2015, 01:23:28 am »
Hi Jason

Right now I am creating the methods to load the data. I suppose we could have the user select a polling interval. Locations I was getting from "SELECT `Zip` FROM `Installation`" but I'm thinking that should be confirmed or having that as default but then can be changed.

Methods can be selected with a user selection like
Code: [Select]
if(NOAA) {
 Get_NOAA_DATA();
} else...

9
Developers / Re: Developing a Weather Plugin, videos
« on: February 12, 2015, 10:22:20 pm »
Hi J

I am putting together a NOAA addition to your Weather device. I can also do a Open World wide something version as well with maybe an option to select the version. The problem with most of the good, free APIs is they want their logo showing. Any suggestions for that?  I know it is selfish but for the USA the NOAA data is the best so I think having options is looking like the way to go. Thoughts there?

I am almost done with the code and will send it to you if that's ok?

Thanks

Jim

10
Developers / Re: Developing a Weather Plugin, videos
« on: February 11, 2015, 05:54:06 pm »
Sorry J didn't see your post. I'm not sure I could do multiple data sources as it may be beyond me. Each service references data differently.

11
Developers / Re: Developing a Weather Plugin, videos
« on: February 11, 2015, 05:48:44 pm »
Only the US. I suppose there could be more than 1.

For accuracy right now World weather had me at "Partly Cloudy, 19F" and it is overcast moderate snow and 27F. Also there is no detailed forecast.

Accuweather looks better but cost $$.

I'm working on a NOAA version now but could easily be modified to any API.

12
Developers / Re: Developing a Weather Plugin, videos
« on: February 11, 2015, 03:08:09 pm »
I'm not real happy with the accuracy of the data coming from WorldWideWeather.com or other world wide weather APIs. The USA has a free accurate service with NOAA.

13
Developers / Re: Raspberry Pi MD Flirc
« on: February 09, 2015, 12:29:43 am »
That was what I thought. I did order one. I'll give some feed back here. Looks like a nice addition to the RPi.

14
Developers / Re: Developing a Weather Plugin, videos
« on: February 08, 2015, 09:37:14 pm »
I looked into this a bit more. Looks pretty promising. Each user would have to get their own key, which seems pretty painless. Just give them an email address. I don't see any radar data and looks like only 5 days forecast.

Is the intent with the PHP script to do a call to that from device?

15
Developers / Raspberry Pi MD Flirc
« on: February 08, 2015, 05:26:00 pm »
I saw where there might have been an attempt to get this integrated. Is there an update on this? Has anyone attempted this on the RPi? Looks like a cheaper more compact device compared to the USB UIRT.

Here's a link
https://flirc.tv/product/flirc/

Pages: [1] 2 3 ... 11