Reply | Reply To: Broadcast Intents: How to use it???

Home Forums Mooshimeter Support Broadcast Intents: How to use it??? Reply To: Broadcast Intents: How to use it???

#14632
Anonymous
Inactive

Hi James, Thanks for that document!! You should put it in the wiki, it is very helpful.
Thanks to phedders I had managed already to capture the intents, and do stuff. But as Duane comments on those instructions, Channel #1 data get broadcasted very often (few times per second), but Channel #2 data gets broadcasted very rarely (at variable intervals between few seconds to few tens of seconds).
Why that happens? How it can be solved?
Maybe it would make more sense to put the information of both channels on each intent.

Below I’ve copied an example of the data received trough intents. First column is a time stamp in milliseconds, the second the value and the third the unit. As you can see, the current is reported much more often than the voltage.

1477942856805, 1.8626451E-4, A
1477942857133, 1.1175871E-4, A
1477942857534, 1.527369E-4, A
1477942857863, 1.4528632E-4, A
1477942858344, 5.9604645E-5, A
1477942858680, 6.3329935E-5, A
1477942859149, 3.7252903E-6, A
1477942859816, 1.4901161E-5, A
1477942860540, 1.3783574E-4, A
1477942860894, 5.5879354E-5, A
1477942861282, 7.4505806E-5, A
1477942861619, 8.940697E-5, A
1477942862012, 1.4528632E-4, A
1477942862763, 1.3411045E-4, A
1477942863088, 1.527369E-4, A
1477942863474, 1.527369E-4, A
1477942864226, 9.313226E-5, A
1477942864619, 2.2351742E-5, A
1477942864890, 9.685755E-5, A
1477942865291, 3.7252903E-5, A
1477942865722, 9.313226E-5, A
1477942866454, 1.3038516E-4, A
1477942866741, 1.4156103E-4, A
1477942867149, 1.7136335E-4, A
1477942867453, 4.4703484E-5, A
1477942867948, 5.5879354E-5, A
1477942868182, -1.8626451E-5, A
1477942868630, 8.940697E-5, A
1477942868931, 5.6773424E-5, V
1477942869352, 9.313226E-5, A
1477942869665, 5.5879354E-5, A
1477942870081, 1.1920929E-4, A
1477942870818, 9.313226E-5, A
1477942870993, 1.8924475E-5, V
1477942871390, 6.3329935E-5, A
1477942872116, 1.1920929E-4, A
1477942872537, 1.15484E-4, A
1477942872824, -3.7252903E-5, A
1477942873238, 7.4505806E-5, A
1477942873572, 5.6773424E-5, V
1477942873931, 1.8626451E-4, A
1477942874378, 1.6763806E-4, A
1477942874674, 1.2665987E-4, A
1477942875088, 8.568168E-5, A
1477942875456, 1.15484E-4, A
1477942875764, 1.4901161E-4, A
1477942876205, 1.6018748E-4, A
1477942876482, 1.0058284E-4, A
1477942876908, 7.0780516E-5, A
1477942877247, 4.8428774E-5, A
1477942877647, 8.568168E-5, A
1477942877975, 5.5879354E-5, A
1477942878727, 7.4505806E-5, A
1477942879078, 1.6391277E-4, A
1477942879581, 1.3038516E-4, A
1477942880147, 1.4156103E-4, A
1477942880589, 1.2293458E-4, A
1477942881189, 1.2293458E-4, A
1477942881938, 5.2154064E-5, A
1477942882226, 1.6763806E-4, A
1477942882599, 1.3411045E-4, A
1477942883348, -4.0978193E-5, A
1477942883664, 1.2293458E-4, A
1477942884083, 8.568168E-5, A
1477942884383, 5.5879354E-5, A
1477942884776, 2.2351742E-5, A
1477942885137, -1.4901161E-5, A
1477942885602, 2.9802322E-5, A
1477942885889, 2.6077032E-5, A
1477942886329, 1.15484E-4, A
1477942887069, 1.1175871E-4, A
1477942887745, 1.8626451E-5, A
1477942888075, 2.9802322E-5, A
1477942888494, 1.3038516E-4, A
1477942888809, 1.899898E-4, A
1477942889185, 1.0430813E-4, A
1477942889968, 1.3038516E-4, A
1477942890345, 1.4901161E-4, A
1477942890680, 4.4703484E-5, A
1477942891319, 4.0978193E-5, A
1477942892105, 7.4505806E-5, A
1477942892376, 7.56979E-5, V