Search found 720 matches

by Osler
Fri Oct 25, 2013 3:30 pm
Forum: Plugin Development
Topic: Wrapper for C# plugin development!
Replies: 60
Views: 163147

Re: Wrapper for C# plugin development!

@dlmorgan999:

See here for the TCP Client:

http://www.cebotics.com/forums/viewtopi ... 1&t=856591

Osler
by Osler
Fri Oct 25, 2013 12:20 pm
Forum: Plugin Development
Topic: Wrapper for C# plugin development!
Replies: 60
Views: 163147

Re: Wrapper for C# plugin development!

A link to the updated source code.

https://dl.dropboxusercontent.com/u/634 ... 252013.zip

Osler

Scott - if you can host this file it would be helpful. The site seems to choke on it when I try to upload.
by Osler
Fri Oct 25, 2013 12:16 pm
Forum: Plugin Development
Topic: Wrapper for C# plugin development!
Replies: 60
Views: 163147

Re: Wrapper for C# plugin development!

I have recompiled the original HBDotNet project in Visual Studio 2013 (Express) targeting .NET framework 4.0 and an x86 CPU. I have successfully used the new dlls in HouseBot running in Windows 7 Ultimate on an x64 CPU (i7-3770). I have tested using allanstevens Weather device and my own TCP Client ...
by Osler
Thu Oct 24, 2013 11:07 pm
Forum: General
Topic: DeviceAPI.dll or Device.dll
Replies: 2
Views: 5392

Re: DeviceAPI.dll or Device.dll

The beep device in the SDK is derived from the device class (device.h and device.cpp). I am looking for a way to use platform invoke (p/invoke) to marshal between HouseBot and .NET. If such a dll existed it would be easier to use dll import in .NET and explicit marshaling for C++ types to creat devi...
by Osler
Thu Oct 24, 2013 10:04 pm
Forum: General
Topic: DeviceAPI.dll or Device.dll
Replies: 2
Views: 5392

DeviceAPI.dll or Device.dll

Scott:

Do these dlls exist outside of the .h and .cpp files in the SDK?

Osler
by Osler
Fri Oct 18, 2013 3:38 pm
Forum: General
Topic: Prowl - iPhone push notification
Replies: 1
Views: 3893

Prowl - iPhone push notification

I have been absent a while but wanted to share a COM component I just wrote for Prowl ( http://www.prowlapp.com ). It's a simple device. Source code included below. If you alter the code and recompile please generate a new Guid for the COM and class interfaces in the attribute decorations: Imports S...
by Osler
Mon Oct 14, 2013 7:46 pm
Forum: General
Topic: Web Browser: Customize On-The-Fly
Replies: 168
Views: 328657

Re: Web Browser: Customize On-The-Fly

See first post for the source code for the browser.

Osler
by Osler
Thu Nov 08, 2012 1:08 pm
Forum: Plugin Development
Topic: Wrapper for C# plugin development!
Replies: 60
Views: 163147

Re: Wrapper for C# plugin development!

This will be a bit of work, but you are going to have to create a COM interface for your old .dll file.

See here:

http://www.codeproject.com/Articles/758 ... ibrary-for

I had to do the same thing to allow me to use the UPnP.dll in vb.net.

Osler
by Osler
Thu Nov 10, 2011 5:37 pm
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

No worries. I will build the device on my end and then make an export as Markd suggested. That way there is very little device configuration for you to do.

Osler
by Osler
Thu Nov 10, 2011 4:20 pm
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

Need to add all of these to the condition code library:

http://www.nws.noaa.gov/xml/xml_fields_ ... itions.php

Link to current copy of file in process:

http://dl.dropbox.com/u/6349054/Yahoo_NOAA_Weather.vbs

Osler
by Osler
Thu Nov 10, 2011 2:29 pm
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

Ok, the script is working...for now. I'm not sure if it will break this evening. I think what they are doing is swapping the order in which max and min temp data is being delivered. For instance, when the first entry is "This Afternoon", maximum temperature data has a layout key of k-p24-n...
by Osler
Tue Nov 08, 2011 10:56 pm
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

Very nice, gentlemen. I just got home so don't think I will work on it tonight. I had seen the the n13 thingy was inconsistent as you pointed out. MarkD's solution is elegant and I will incorporate it. If you all come up with anything else, throw it here. No point in us duplicating work.

Osler
by Osler
Tue Nov 08, 2011 3:18 pm
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

Ok, I've got this working in a rudimentary fashion. It is not complete, but I'll throw out what I've got. The script first gets data from Yahoo using your zip. Yahoo actually returns your lat/long with their data so I turn around and use that to plug into the NOAA url and get the 7 day forecast. I n...
by Osler
Mon Nov 07, 2011 8:08 am
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

Well, Yahoo does give current conditions. Perhaps we can use the Yahoo site for the current conditions and use the NOAA site for forecast data. I just switched back to Yahoo last night and it only gives me tomorrows forecast.

Osler
by Osler
Sun Nov 06, 2011 10:07 pm
Forum: Plugin Development
Topic: Weather.com Plug-in
Replies: 75
Views: 551417

Re: Weather.com Plug-in

Ok, this is the XML I have found on the NOAA site that appears to be most workable: <?xml version="1.0" encoding="ISO-8859-1" ?> - <dwml version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...