Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Crystal Face | 312 | 11 days ago | 89 | gpl-3.0 | HTML | |||||
Garmin Connect IQ watch face | ||||||||||
Noaa | 130 | 2 | 1 | a year ago | 32 | February 19, 2022 | 12 | mit | Python | |
NOAA Weather Service Python SDK | ||||||||||
Privacy Friendly Weather | 104 | 6 months ago | 54 | gpl-3.0 | Java | |||||
Privacy Friendly App for Android that can display weather for cities. | ||||||||||
Netatmo Api Php | 98 | 3 years ago | 8 | PHP | ||||||
Netatmo Weather Station API client implementation - PHP SDK | ||||||||||
Awesome Memobird | 69 | 5 years ago | ||||||||
咕咕机资源汇总 | ||||||||||
Minxiuweather | 66 | 7 months ago | 1 | JavaScript | ||||||
a simple miniprogram of weather | ||||||||||
Esp8266 Weather Station | 46 | 6 years ago | other | Assembly | ||||||
Use ESP8266_RTOS_SDK-1.4.x CJson Resolution Weather Web Json Data and Display on the OLED12864,the code include ESP8266 SmartConfig function can use SmartPhone APP connect to WiFi | ||||||||||
Pressurenet Sdk | 33 | 8 years ago | 6 | mit | Java | |||||
PressureNet-SDK | ||||||||||
Codex.bot | 32 | 2 months ago | 16 | mit | Python | |||||
Working team assistant | ||||||||||
Aeris Ios Library | 21 | 7 | 14 days ago | 49 | November 02, 2021 | 1 | bsd-3-clause | Ruby | ||
Contains a demo project utilizing the AerisWeather SDK for iOS to help you get started with using our library. |
The PressureNet SDK is an Android library project that enables simple atmosphere sensor data collection and transmission to researchers. This SDK was created by Cumulonimbus for use in PressureNet and third-party Android apps. The code is open source and released under the MIT license. If you're interested in using this SDK in your app and sending live atmospheric pressure data to scientists working on a better weather forecast, join our Developer Program to get an API key.
This SDK is intended for atmospheric sensor data collection. We have also built a PressureNet API for data dissemination that is actively used by scientists and researchers. We provide an explanation and documentation for the Live API. Of course, that project is open source too.
Include this SDK in your Android project:
There are two usage paradigms:
If your app already periodically runs in the background, it might make sense to pick option 2 rather than have two background services running. Otherwise, choose option 1 and let PressureNet do all the work. Simple steps to get started with the SDK are presented here. Full documentation is in the docs/ folder. We also provide a full Example project that uses the SDK and simplified code to help you get started.
Option 1: Start the service and let it run
All interaction with the PressureNet SDK will be done through the CbService class. Start the service by creating an Intent and calling startService:
Intent intent = new Intent(getApplicationContext(), CbService.class);
startService(intent);
Add the service to your AndroidManifest.xml file inside the
<service
android:name="ca.cumulonimbus.pressurenetsdk.CbService"
android:enabled="true" >
<intent-filter>
<action android:name="ca.cumulonimbus.pressurenetsdk.ACTION_SEND_MEASUREMENT" />
<action android:name="ca.cumulonimbus.pressurenetsdk.ACTION_REGISTER" />
</intent-filter>
</service>
The final element required is to add the following
<receiver
android:name="ca.cumulonimbus.pressurenetsdk.CbAlarm"
android:process=":remote" >
<intent-filter>
<action android:name="ca.cumulonimbus.pressurenetsdk.START_ALARM" />
</intent-filter>
</receiver>
And that's it! By adding those elements to your manifest and calling startService, the PressureNet SDK will run in the background and send data. For more control, your app can communicate with the SDK.
Option 2: Manually, periodically send Intents
You'll use the same Service tag as above in your AndroidManifest.xml:
<service
android:name="ca.cumulonimbus.pressurenetsdk.CbService"
android:enabled="true" >
<intent-filter>
<action android:name="ca.cumulonimbus.pressurenetsdk.ACTION_SEND_MEASUREMENT" />
<action android:name="ca.cumulonimbus.pressurenetsdk.ACTION_REGISTER" />
</intent-filter>
</service>
To send an intent directing the PressureNet SDK to send a single measurement, do something like this:
Intent intent = new Intent(getApplicationContext(), CbService.class);
intent.setAction(CbService.ACTION_SEND_MEASUREMENT);
startService(intent);
And that's it! The PressureNet SDK will collect and send (or bufffer) a single atmospheric pressure measurement.
Communication between your app and the CbService is done by binding to the Service and passing Messages. For full documentation, please see Documentation.md and the docs/ folder, which contain descriptions of available communication messages as well as Javadoc comments.
This SDK is developed by Cumulonimbus as part of the PressureNet project. Our primary goal is to improve weather forecasting by dramatically increasing the data inputs available to weather models. We built this SDK so you can help this effort by contributing data! Please email us with any questions: [email protected]