[DEPRECATED] webCoRE Beta Milestone 2

Ady624, any chance to look at this issue I posted last week (not sure if you missed it). Seems to be a problem with tiles not going away if you delete them. I saw this issue several times when I was splits pistons.

Are you running the last version (i.e. updated to and published the latest, plus hard reload on the browser?)

I haven’t tested that issue in a few days but was occurring on Saturday still. Let me check if I can replicate it still. I’m on the latest version right now: v0.2.0df.20170725

I’m able to duplicate it when I deleted 3 tiles on 2 test pistons. I basically duplicated my lighting tile piston 2x and saved them then:

  1. I deleted tiles 1-3 on first piston and changed tiles 4-6 to 1-3.
  2. Second piston I deleted tiles 4-6 and left 1-3 as is.

This means I should have 6 Piston Tiles total but it’s showing like this:

Piston 1:

Piston 2:

Piston 1 Logs:

7/26/2017, 12:03:05 AM +582ms
+2ms	╔Received event [Living Room Lamp Bulb].switch = on with a delay of 1208ms
+321ms	║RunTime Analysis CS > 64ms > PS > 124ms > PE > 133ms > CE
+331ms	║Runtime (45310 bytes) successfully initialized in 124ms (v0.2.0df.20170725) (329ms)
+333ms	║╔Execution stage started
+350ms	║║Cancelling statement #16's schedules...
+371ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+390ms	║║Calculating (string) 100 + (string) % >> (string) 100%
+399ms	║║Calculating (integer) 100 > (integer) 100 >> (boolean) false
+412ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+429ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+438ms	║║Executed virtual command setTile (2ms)
+459ms	║║Calculating (enum) on == (enum) on >> (boolean) true
+474ms	║║Calculating (enum) on == (enum) on >> (boolean) true
+491ms	║║Calculating (enum) on == (enum) on >> (boolean) true
+500ms	║║Executed virtual command setTile (2ms)
+521ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+538ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+556ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+565ms	║║Executed virtual command setTile (2ms)
+570ms	║║Cancelling statement #65's schedules...
+575ms	║║Executed virtual command setState (1ms)
+579ms	║╚Execution stage complete. (247ms)
+588ms	╚Event processed successfully (587ms)

Piston 2 Logs:

7/26/2017, 12:03:05 AM +577ms
+2ms	╔Received event [Living Room Lamp Bulb].switch = on with a delay of 1203ms
+311ms	║RunTime Analysis CS > 67ms > PS > 137ms > PE > 107ms > CE
+321ms	║Runtime (45961 bytes) successfully initialized in 137ms (v0.2.0df.20170725) (317ms)
+322ms	║╔Execution stage started
+341ms	║║Cancelling statement #16's schedules...
+366ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+388ms	║║Calculating (string) 35 + (string) % >> (string) 35%
+397ms	║║Calculating (integer) 35 > (integer) 100 >> (boolean) false
+413ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+433ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+443ms	║║Executed virtual command setTile (2ms)
+461ms	║║Calculating (enum) on == (enum) on >> (boolean) true
+485ms	║║Calculating (string) 63 + (string) % >> (string) 63%
+495ms	║║Calculating (integer) 63 > (integer) 100 >> (boolean) false
+507ms	║║Calculating (enum) on == (enum) on >> (boolean) true
+524ms	║║Calculating (enum) on == (enum) on >> (boolean) true
+534ms	║║Executed virtual command setTile (2ms)
+558ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+577ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+597ms	║║Calculating (enum) off == (enum) on >> (boolean) false
+607ms	║║Executed virtual command setTile (2ms)
+613ms	║║Cancelling statement #65's schedules...
+620ms	║║Executed virtual command setState (1ms)
+623ms	║╚Execution stage complete. (302ms)
+634ms	╚Event processed successfully (633ms)

I did try a hard reload on chrome and a different computer/browser as well, getting same results.

There is no delete per se. In the first piston, you “deleted” slots 1-3 and then moved 4-6 to 1-3. What happened to slots 4-6? Tiles are simply slots into which you can write data. As long as there is data, there is a tile. Try using Clear piston tile on the unnecessary slots - that is how you “delete” tiles

That did it, thanks. I didn’t realize I had to clear the piston tiles to clear the data.

@ady624, you may be aware but I’ve noticed some tile alignment issues since adding gauges. This is a grab from Chrome on a Mac but the same is present in Safari on iOS. Not a big deal but it was better previously.

Will fix. Meanwhile, added Weather Underground icons support, similar to how :fa-icon: works, format is

:wu-[iconset]-[icon]:

iconset is one of:

  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h
  • i
  • j
  • k
  • v1
  • v2
  • v3
  • v4

(the vX versions are svg and therefore adapt to size better)

icon is one of:

  • chanceflurries
  • chancerain
  • chancesleet
  • chancesleet
  • chancesnow
  • chancetstorms
  • chancetstorms
  • clear
  • cloudy
  • flurries
  • fog
  • hazy
  • mostlycloudy
  • mostlysunny
  • partlycloudy
  • partlysunny
  • sleet
  • rain
  • sleet
  • snow
  • sunny
  • tstorms
  • tstorms
  • tstorms
  • cloudy
  • partlycloudy
  • nt_chanceflurries
  • nt_chancerain
  • nt_chancesleet
  • nt_chancesleet
  • nt_chancesnow
  • nt_chancetstorms
  • nt_chancetstorms
  • nt_clear
  • nt_cloudy
  • nt_flurries
  • nt_fog
  • nt_hazy
  • nt_mostlycloudy
  • nt_mostlysunny
  • nt_partlycloudy
  • nt_partlysunny
  • nt_sleet
  • nt_rain
  • nt_sleet
  • nt_snow
  • nt_sunny
  • nt_tstorms
  • nt_tstorms
  • nt_tstorms
  • nt_cloudy
  • nt_partlycloudy

You should use the icon from the weather underground icon field

PS can someone please add this to the wiki?

1 Like

Rockstar :grey_exclamation:

1 Like

Happy tile reworking lol

2 Likes

LOL, thanks. A pleasure. Must say I’m having a tremendous amount of fun with all this. You are releasing new features faster than I can learn what’s already there.

I’ve got it bookmarked. I’ll get to it. Is this everything or more info to find somewhere?

@ady624

Is if just me or the dashboard is kinda down atm? Can’t get passed the spinning squares

Mines working.

@ady624 I am trying to setup the following condition:

If “Routine Y Executes” OR “Switch X is ON”

When I set this up and save it, the Piston will only subscribe to Routine.Executes event, “Switch X” events are not subscribed to.

You have to select “always subscribe” in the option for you switch. You can tell this by there is no lightning bolt.

Executes is a trigger. You could force a subscription on the switch

@ady624, Did you change the graphs in fuel streams? Also there is no data below the graphs.

got it, thank you

:slight_smile:thanks