GroveStreams

Forum Home

TitleAuthorPostsLast Post
Latest Changes MikeMills 187 2 monthsMikeMills (133): * Fixed Regular stream derivation issues: - Stream was not deriving from start of dependent data when it was empty and derive on Any Arrival was set - Derivation could fail if there is a lot of dependents with a lot of samples (over 550k samples). - The above issue caused derivation cycle runtimes to double for all clients for a couple of days. They are back to normal now. * Fixed an issue causing auto org creation from blueprints when a...
Downloading Data at Different Intervals MThomas 14 19 daysMikeMills (133): Can't think of another way today except for having the device upload every minute. Gap Filling only fills gaps as data comes in. We're working on a solution that will gap fill as data is queried for, but that will not be available for months.
How to get an alert if door is opened for more than 45 seconds ? pat 2 28 daysMikeMills (133): You will have to user derived streams and get a derived stream to derive automatically at the current time. See this thread: https://forum.grovestreams.com/topic/494/gap-filling-forward-to-current-time/ Also search for "kicker" in the forum. Your logic can compare the source stream for a 1 and track the SAMPLE_TIME. Then use time()-SAMPLE_TIME to get the number of milliseconds that have passed. Setup an event/alert on the derived...
Backup Orgaization Python Script MikeMills 3 3 monthsMikeMills (133): One of the User's Groups must have Manage Exports capability and the user/group must have Traverse rights for the content store folders and objects (Components, Content, Tools) they are backing up. Right click on the store folders, choose properties, and check the security tab. Aren't there errors in the Org's System Notifications when the zip file is empty? We did some work in this area last week to improve backup times. We could've...
MMS notification jcb 5 3 monthsMikeMills (133): GS now supports storing of files within streams. Links to those files can be included in notifications.
action package web ui mleader_se 2 4 monthsMikeMills (133): https://forum.grovestreams.com/cached/9b99ebd3aa40df5bc9b758029a945298.png 1. Right click on the component and choose Edit 2. Select the Event 3. Select the Action Package Hope that helps.
Best way to temporary stop access to Grovestreams pat 2 4 monthsMikeMills (133): You can only restrict access to organizations and there's no easy way to popup a message. That being said... If I were to do it today, this is what I'd do: 1. Create a User Group with no Capabilities and add all users to that group. Remove them from other groups. 2. If you subscribe with the "Business Pro" plan, you could also add the Group to each Root folder and Deny Traverse rights. Instead of a Popup, you could possibly rename...
Derivation changes. MikeMills 1 5 monthsMikeMills (133): * Auto Recalc on any derivation changes: https://forum.grovestreams.com/cached/f4d777e0a0454c0d3ffbcdd295027838.png Derived streams will be totally recalculated when this switch is on and any changes to derivation settings change including variables and the expression. * Reconcile Lock on Component Template Streams. Lock this in the Template editor. When reconciling (for pricing plans that support this), the component reference will...
Removed Component Studio MikeMills 1 5 monthsMikeMills (133): All component studio objects have been moved into Observation Studio under a 3rd content store called "Tools". https://forum.grovestreams.com/cached/c807d5423541a8cda6f09f6206cf1781.png User/Group security can be set on all Tools folders if your pricing plan supports role based security.
OAuth 2.0 Authorization code grant? glyde_lab651 3 6 monthsMikeMills (133): We've done this. OAuth 2.0 authorization is a good way to not hard code an api_key on devices. With OAuth 2.0, a device gets registered by the user and it holds onto an authorization token and a refresh token and uses those for secure access api calls. Amazon Alexa now uses our OAuth 2.0 authorization servers. More information here: https://www.grovestreams.com/developers/oauth.html
Add/Remove Action Event via API MThomas 2 7 monthsMikeMills (133): Yes. Many of our APIs are documented but the best way to know and learn them is through the Web UI since it is built with the API. Open Chrome, Hit F12, watch the Network debug tab to see api calls made and what is returned (Usually JSON). Watch the calls made while performing them in the UI such as creating or editing an event action on an event action package.
Send URL in email notification fixingthingsguy 6 7 monthsMikeMills (133): Email sending has been slow lately (like 20 minutes to get an email). We use an Amazon AWS email service and it started throttling us lately because our daily email numbers are becoming large. We've put in a request to increase our Amazon email quotas. It should be resolved soon.
API to enable a trigger pat 4 8 monthsMikeMills (133): Yes, the whole definition.
API excpetion speedyspeed 2 11 monthsMikeMills (133): Which dashboard widget is causing this? How many streams are in that widget? How many streams have an "Apply Expression" set? https://forum.grovestreams.com/cached/1de0f98f3f36ecc6f8aa6145d4842cec.png
Improved Mobile Website Navigation MikeMills 1 1 yearMikeMills (133): Added a navigation selection list after entering an org from within the Mobile website: https://forum.grovestreams.com/cached/2dda0ae4d93d49cd6095f5ca97552ede.png Added security Group capabilities to restrict what Mobile users see in the list of options: https://forum.grovestreams.com/cached/f13c230a7dd4e54b89ef6baac8786db0.png If there is only one capability option selected, then the navigation screen will be bypassed and the user...
Apply the Same Dashboard to Multiple Components MikeMills 1 1 yearMikeMills (133): A common dashboard can be associated with many components within the Component Definition: https://forum.grovestreams.com/cached/690ff8e678a05147c86451e3ed44999a.png The dashboard will be displayed when a component is viewed within the GS Mobile website (instead of the default component/stream viewer). When the dashboard is viewed by choosing a component: * All of the streams within the dashboard will be replaced by streams within the...
File Stream - Download in Chunks MikeMills 10 1 yearcrevicedweller (1): Cancelled post
Graph cumulative data tokp 4 1 yeartokp (1): Perfect, got it to work as long as I used the reset cycle set to none which is fine since I can reset every year. "To force the Derived stream to fully recalculate - right click on it and select "Delete all time series data". Then wait for a minute or so." - I am glad you included that, I have been waiting a day to see data come in to check my derivations. Resetting speeds up my testing a lot! Thanks for your help
Calculate dT/dt Terp 4 1 yearMikeMills (133): @Trakk "And the last temperature logged at those times." Getting the last temp for the Day or Hour is easy. Choose a Day, or Hour, cycle with the LAST function. This will return the last sample value for that cycle. You can choose Cycles and functions (min,max,sum,last, ...) in Dashboard widgets or in a derived stream expression. "I want to be able to get the total on time each hour of the day." I'm still thinking about...
Data storage period fisa7 2 1 yearMikeMills (133): Unlimited time if configured correctly. Data retention will default to 2 years via the "Delete Profile" selected by a Stream's definition. Change the Delete Profile to retain the data longer: 1. Edit the component, choose the stream, select a different Delete Profile 2. Change the new-stream-default: Admin-Organization-General Settings-New Stream Defaults
dashboard/graph/settings/data/"apply expression" to stream of binary. ero4444 3 1 yearero4444 (1): yep that did it. Thanks - I missed the title in the property box, "!value" works for my purpose.
particle electron example for multiple vars micromet 19 1 yeartokp (1): Bingo, I had a space between 'comp' and 'id'. Data is coming through now. Thanks for your help!
Derivation error - why? ctmorrison 4 1 yearctmorrison (10): Not what I was doing -- at least I had no intention of doing this. The new stream I created looked identical in all ways to the one that was throwing errors. Kind of academic at this point -- I already deleted the "bad" streams. Thanks
Event stream change? ctmorrison 3 1 yearctmorrison (10): Hmmm...I had already fixed the issue to avoid nuisance alerts, but I still am uncomfortable with what happened. We'll see if it happens again.
Import data from and old component to a new component pat 3 1 yearpat (1): HI, Yes sorry for that question. It was because I had a component_template filled in one case and not in the other case. So it was creating a new component instead of feeding the previous one. -> Method 1 is the good one ! Thanks
Local SQL database edwar210 2 2 yearsMikeMills (133): You'd have to use our API to pull from GS and Push into a SQL database. Or if the SQL database has some kind of HTTP interface, you could setup a stream data Arrival event to make the HTTP call with the new data into SQL.
Smartthings API errors TravCam 3 2 yearsTravCam (1): Actually, my issue began on organization setup... I didn't have those API options because I apparently selected No Blueprint in advanced tab. Deleted my org and followed defaults and then the proper API options materialized... Thanks!
Display Last Sample Time Josephny 5 2 yearsMikeMills (133): You can't edit it in the mobile site anymore? Did you attempt to edit it in the studio and save it? If so, it will corrupt the dashboard.
my esp8266 code doesn't work nab96 2 2 yearsMikeMills (133): Use GS API tracing to see if your call is even making it to your GS organization. Also, check your organization System Notifications for any errors. Our web server logs indicate that your call is not even making it to our web servers. This can indicate several potential problems: 1) Your URL is not formatted correctly. Trace it out to the debug console window and paste it into a URL validator website to ensure it is a valid URL. 2) Your board...
Uploading historical data via PHP JoEmbedded 2 2 yearsMikeMills (133): I think Unsupported Media type means the content-type header needs to be set. Try setting the header: content-type:application/json Here's a GS Python example: https://www.grovestreams.com/developers/getting_started_helloworld_python.html
ESP8266 PUT method doesn't work The_Doctor 4 2 yearssfm (1): can I have the code for uploading data with ESP8266, please?
Create component from Template crevicedweller 3 2 yearsMikeMills (133): To create a component with all of its known streams at the same time when a component makes its first call, just set the compTmplId parameter. If you want to create a new stream based on a template stream after a component has already been created use both of these parameters in the URL: dtId dsId From https://www.grovestreams.com/developers/api.html : These parameters are used to dynamically create streams for a component if they do not...
streamID name rules crevicedweller 5 2 yearscrevicedweller (1): That fixed it. I just replaced the spaces with a + character and it works. Thanks much.
ERROR: Could not locate matching endDate macedo123 16 2 yearsEwmgomes (1): Yes, I updated all cycle date. https://forum.grovestreams.com/cached/5f79169a117ae51acecf61e9dc7aafef.png
Stream Data I/O blocked even though no data was sent Eugene 2 2 yearsMikeMills (133): All I/O is considered. This includes when you leave a dashboard open with a fast polling rate. See this thread: https://forum.grovestreams.com/topic/65/page/1/what-are-billable-transactions/ Email us at our info or support email address (include your GS account email address) and we'll reset you're data I/O so you can keep going.
Issue with rollup chart JChristensen 6 2 yearsJChristensen (1): Chart looks fine now. Thanks a bunch, Mike! https://forum.grovestreams.com/cached/54e60cb81f05511e578cedc811351e34.png
httpie PUT failed kevin 5 2 yearsMikeMills (133): I don't think we'll accept a x-www-form-urlencoded type. Maybe try not setting the content-type to see if anything will get through. Usually, 401 will indicate that your api_key is invalid or we can't parse the URL to get extract the api_key. But... I searched our server logs for "compId=Sensors&temp=24.5" and nothing came up so I don't even think the call is making it to our servers. Try it again with a compId to something...
Timestamp off Avocadodude 5 2 yearsAvocadodude (1): Thank you for all the help! There was a parameter in the Gateway called "Offset from GMT in minutes" and it was set to an odd value. I set it to '0' and all is good now and reads the correct time in my timezone.
Gap Filling Forward to Current Time MikeMills 3 2 yearsJLS (1): Thank you Mike, this worked great!
Modifing Arduino example template OldNerd 7 2 yearsMikeMills (133): Ensure that the value the device is passing up is compatible with the Stream Value Type. For example, it might be passing up "10.3 C" (as a string) and the stream has a value type of FLOAT. It won't be able to convert "10.3 C" to a float. It could convert "10.3". That could be why a reconcile is failing. Just a guess.
Historical tracking pat 12 2 yearspat (1): :eek: WHAT A BIG CHANGE ! Looks good and the time range works also with the map. I like it. :)
Component IDs must be unique pat 8 2 yearsMikeMills (133): Usually creating a component is fast - a few milliseconds, but you're creating it with a lot of streams so it could take longer like a second or two. Issues with the network between the device and GS could occasionally add time too.
Moving Averages Josephny 8 2 yearsJosephny (1): Well, I thought it worked because I didn't get the immediate error, but there's still a problem: https://forum.grovestreams.com/cached/03e498ce7130edf2839df8b18eb9ebf6.jpg
Digi Device Cloud Data into GroveStreams MikeMills 5 2 yearsAvocadodude (1): The timestamp in the DIA stream seems to be correct (PDT right now) for me. 04/23/18 09:50:20 AM
MAP like derivation function Avocadodude 3 2 yearsAvocadodude (1): Sorry, farm happened at I lost track of this. For me it's fairly common, mapping pressure transducer output to PSI. Not to sound selfish...
Reduce data consumption Henrik 2 2 yearsMikeMills (133): Maybe this thread will help: https://forum.grovestreams.com/topic/65/what-are-billable-transactions/ Big things: * decrease the data being uploaded/downloaded. Try making your device stream IDs short; instead of an ID of "temperature", try "t" . * Don't leave dashboards open with a fast refresh rate (like every 5 seconds). * Decrease the interval time the studio looks for new notifications (Org Studio - Admin -...
Read user only pat 2 2 yearsMikeMills (133): You can make Observation Studio read-only but it requires subscribing to the Business Pro or Enterprise pricing plan. Under those plans, a user can right click on folders, dashboards, maps, and components and configure the rights on them. One right is Read-Only. More information can be found here: https://www.grovestreams.com/downloads/guides/GroveStreams%20Access%20Permissions.pdf
Help with a derivation Josephny 15 2 yearsMikeMills (133): Great - Thanks for posting the solution!
problem signing up with chrome ? bill38 2 2 yearsMikeMills (133): Try and do an F5 (refresh) a couple of times. We're having problems with captcha (I am not a robot) raising an exception and corrupting the page sometimes. We're looking into it.
Frequency of derivation engine ctmorrison 10 2 yearsMikeMills (133): Here's a graph of daily average derivation runtimes. Code improvements and adding more servers sped things up. https://forum.grovestreams.com/cached/63b3c8b3c421e1fa2a554d4a5b105dab.png