I assume your general goal is to get the data into WeeWX? If so, take a look at the Wiki article *Strategies for getting data into WeeWX <https://github.com/weewx/weewx/wiki/intake-strategies>.*
If you decide to take the route of writing a device driver (probably the easiest), see the section *Porting to new hardware <http://weewx.com/docs/customizing.htm#porting>* in the Customizing Guide for general guidelines. -tk On Tue, Mar 5, 2019 at 9:38 PM Kevin Creason <[email protected]> wrote: > Hello everyone, > I recently installed weewx on an ubuntu server. I selected one of the > LaCrosse devices during the config run though it was incorrect and I'll > need to reconfigure that but first I'll have to build something. > > I have one of the LaCrosse costco specials, the C83100 which is not > natively available to grab data from. However, I have managed to intercept > the data with mitmproxy and can see the JSON data that it is posting back > to the LaCrosse APIs. > > I was wondering where to start in figuring out the DATA value in the json, > and then how to get it entered into the database, if I am looking at > something doable and going about this the right way, if there is anything > to learn from someone going down this path before. > > I see several variations of the data like the sample below. The data first > six characters often corresponds to serial numbers of the display/gateway > or a sensor but some I cannot account for. > > { > "Data": "187A791D0680B747EAAA60", > "GatewaySerial": "2D812F", > "DisplaySerial": "2D812F", > "OnDisplay": false, > "Firmware": "2.2.1", > "Diagnostics.Heap": 31808, > "Diagnostics.Chip": 5186310, > "Diagnostics.SDK": "1.5.4.1(39cb9a32)", > "Diagnostics.CpuFreq": 80, > "Diagnostics.FlashSize": 3, > "Diagnostics.Reset": 5, > "Diagnostics.ResetTime": 1551830413, > "Diagnostics.Restarts": 126, > "Diagnostics.UserBin": 0 > } > > Other data fields: > > "187A791B05609947EAAA62" > > "187A791D0680B747EAAA60" > > > "*357023*0617F0330A" ## outside temp/humidity sensor > > "*3C3279*0A01AA3EA6" . ## rain sensor > > "187A791105608D47EAAA68" > > "187A791505C0A147EAAAB6" > > "0DF5910AAAAAAA025AAAA8" > > "187A791708109A47EAAA73" > > "0DF5910CAAAAAA017AAAAA" > > "187A79190990A547EAAA9A" > > "*2D812F*0027701AF1" > > "*3C3279*0201AA3EBA" > > "0C7D3408AAAAAA078AAAE4" > > "187A791104908A47EAAA5B" > > "187A791306209D47EAAA8B" > > "*2D812F*0027B01CFD" > > "187A791504909447EAAA81" > > "0DF5910CAAAAAA01FAAA89" > > "*2D812F*0027E01ABC" > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
