Rest API For Access

  • 4
  • Idea
  • Updated 22 hours ago
With the new Access having more resources available compared to the SmartHub, I would like to request a way to get data off of the Access and into our own systems. A few ways this could be implemented:

- In the webserver that runs on port 80, allow us to enter a key, and then we can send requests to http://ACCESSIP/api/KEY/currentcondit... or something similar.
- Another way this could be implemented is using webhooks. In the webserver, there could be a field where we enter a URL and the Access sends a POST request to that URL each time the Access receives data. This could be in JSON and there could even be the option to batch the requests into 1 minute batches to avoid overwhelming our own servers. This approach could work better because with this, our servers are no longer polling like in the first method.
Photo of Dog2puppy

Dog2puppy

  • 6 Posts
  • 0 Reply Likes
  • happy

Posted 3 months ago

  • 4
Photo of brad

brad

  • 1 Post
  • 1 Reply Like
I agree. I lost all my historical data. That did NOT make a happy customer !
Photo of sparkie951

sparkie951

  • 52 Posts
  • 12 Reply Likes
I agree... But good luck... I doubt that they will give that info up... But in many ways they have lost a bunch of us... I for one  am looking into other alternatives... With this access, I really fell ripped off... Paying more for less... Could use 10 inputs, now only 7... Then they add batteries for backup (didn't need due to UPS), and the ability to upload later when the internet or power returns... Never been an issue before... Many of us lost more than we gained and now after about September the old devices that we purchased without warning will not be working any longer... What a joke. I used to love Acurite but more and more they aren't giving us what we want and they are doing one hell of a job of alienating the people that have supported them for so long.... They want control over us, not sure why, but they refuse to back down...
Photo of old_spaghetti

old_spaghetti

  • 28 Posts
  • 3 Reply Likes
Have you found a reasonable alternative system
, I'm looking for one.
Photo of sparkie951

sparkie951

  • 52 Posts
  • 12 Reply Likes
Not yet... I was looking at Peet Bros, but then I don't have all the indoor and accessory options and they are a wired vs wireless system... Except for the Hub/Access connection.
Photo of old_spaghetti

old_spaghetti

  • 28 Posts
  • 3 Reply Likes

How about Ambient Weather?

"The WS-8478 has a much nicer display console. The WS-2902 uses a color film LCD which has a small viewing angle. The WS-8478 uses a high contrast PMVA display, and is almost twice as large.

The WS-8478 supports 7 additional thermo-hygrometer sensors.

The WS-2902 includes a UV and solar radiation sensor. The WS-8478 includes a UV sensor only."

Photo of sparkie951

sparkie951

  • 52 Posts
  • 12 Reply Likes
Good find.. I was looking at their weather stations... WS-8478 os pm;u 199.99 but out of stock. The basic outdoor unit looks like it is WIFI, but at the same time the Thermo-Hygrometer  does not seem to be WIFI, so not sure how that one works! I like what I see and those are only 14.99. - Looking at the app, it only has a 3.1 rating, which is the only downside I see so far! Also it is only BETA at this point!
(Edited)
Photo of old_spaghetti

old_spaghetti

  • 28 Posts
  • 3 Reply Likes

Near as I can tell the WS-2902 is pretty complete with sensors, outdoor humidity, outdoor temperature, wind direction, wind speed, solar radiation, solar UV & rain gauge.  The outdoor refreshes the console every 16 seconds, internet refresh is 60 seconds.  Transmission is 915 MHz  to the console, console is then WiFi to internet.

To achieve multiple temperature sensors multiple  WS-0262A units must be purchased for $38.99, each with their own console.  Refresh rate appears to be 64 seconds?  Transmission is 915 MHz  to the console, console is then WiFi to internet

Photo of old_spaghetti

old_spaghetti

  • 28 Posts
  • 3 Reply Likes

One would be getting two temp sensors with the system, including one built into the console (interior temp) that reports to the internet.  I am currently using 4 temp/humid sensors, basement, garage, freezer, family room.  With this WS version I could combine the garage with console (garage)/sensor (freezer)  and eliminate the family room since the wall console would give me that reading.
Photo of sparkie951

sparkie951

  • 52 Posts
  • 12 Reply Likes
I was looking at the WS-1002 - One thing that really like is it has historical archived data, which can be exported to SD Card (optional, see the You May Also Like section below) for advanced data analysis in Excel, and detailed time graphs for spotting weather trends.

This also means that we will be able to save ALL our data ourselves and keep up wiht our own highs and lows and create our own charts!

The SD Card is also used for firmware updates
Photo of sparkie951

sparkie951

  • 52 Posts
  • 12 Reply Likes
In regards to the sensors, either way I will have to buy extra sensors, but that is not an issue either. I will need 4 extra sensors, plus a pool sensor and looking at a another water temp sensor as well for my spa... I will have to look at the WS-102 in more details.
Photo of old_spaghetti

old_spaghetti

  • 28 Posts
  • 3 Reply Likes
Came across this product from Ambient, WS-8482 7-Channel Wireless Internet Remote Monitoring Weather Station Supports seven additional temperature and humidity sensors (TX-3110B) for a total of eight
Photo of Mike Frazier

Mike Frazier

  • 71 Posts
  • 25 Reply Likes
You might want to look at www.acuparse.com and weewx as options.  I have Acuparse running on a Raspberry Pi 3, so all of my data is in a MySQL database.  Acuparse does the uploading of the data to MyAcurite, WeatherUnderground, CWOPS, etc and provides a web interface for your data.  Weewx does similar (just uses a different way of scraping the data). 
Photo of Whosit42

Whosit42

  • 16 Posts
  • 5 Reply Likes
@Mike Frazier

Commenting here because thread I am referencing is closed to comments.

Have read your write-up on github.com/acuparse about installing Acuparse on a Raspberry Pi . Also your comments posted in a previous thread called 'What a Ripoff!!! ....' (no longer possible to comment there) regarding using 2 Ethernet adapters to connect a smartHub to a Raspberry Pi 3 and then connect the Pi to a port on a router, instead of using one ethernet attachment and 1 WiFi attachment. You referenced an article posted on alexatnet.com.

I am unclear if the reference to the alexatnet.com article is supposed to be used with your github instructions or is replaced by the github instructions.

Also, is it possible to use "bridge-utils" instead of the setup noted in the alexatnet.com
article?

Intention here is this... smartHub >>>> Pi via Pi's built in Ethernet (which will be eth0), then Pi >>>> a vanilla telco supplied router via a USB Ethernet adapter (which will be eth1).

Have a Pi 3 B+ up and running with Raspbian Stretch Lite Headless, latest build, accessed with SSH via puTTY, eth1 plugged in.

Would appreciate you thoughts.
Photo of Mike Frazier

Mike Frazier

  • 71 Posts
  • 25 Reply Likes
The Wiki write up is the latest method and the one that I've used now a couple of times.  I basically took parts of what was done in the alexatnet.com article and incorporated that (with changes) directly into the Wiki doc.  As for bridge-utils, I'm not sure what you are specifically asking. In the method I use, its using dnsmasq to do the work (instead of bind or similar).
Photo of Whosit42

Whosit42

  • 16 Posts
  • 5 Reply Likes
Thanks Mike for the clarification regarding which set of instructions to use. I had found somewhere that using bridge-utils with changes to /etc/network/interfaces was used to set up multiple Ethernet adapters.
Photo of Mike Frazier

Mike Frazier

  • 71 Posts
  • 25 Reply Likes
As documented this puts the SmartHub/Access connected directly to the Pi via eth0 on a subnet that is dedicated to it. The Pi then acts as a router/bridge for that subnet to your regular LAN via wlan0 or eth1. By doing it this way, the Pi can do the DNS override so the SmartHub/Access thinks it's talking directly to Acurite, but is really just talking locally to Acuparse. Acuparse then can store the data in it's database and send the info on to where you want (Acurite, PWS, WU, CWOP, and/or Weathercloud. So two network interfaces are being used on the Pi.

I'm sure you can do similar with bridge-utils but I liked how simple dnsmasq is for doing this (I had played with bind first but that just overkill to manage a single DNS entry)
Photo of Whosit42

Whosit42

  • 16 Posts
  • 5 Reply Likes
@Mike Frazier

Have Acuparse up on my Pi 3 B+, but not running very well. Have posted on GitHub recently and you commented on same. I have some questions, but don't know if here  is proper place for them. Do not want to hijack this thread. If you go to the item I started on GitHub, you should see an email address for me. Can we do this? Thanks.
Photo of Dog2puppy

Dog2puppy

  • 6 Posts
  • 0 Reply Likes
BUMP

Can we get some input from someone at AcuRite?
Photo of old_spaghetti

old_spaghetti

  • 28 Posts
  • 3 Reply Likes
Does anybody have experience with openweathermap.org/api ?