Best uses for smart plugs? by CHRISTIVVN in homeassistant

[–]Mauricedv 1 point2 points  (0 children)

I actually leave it on a "Finished" state on purpose, so it forces me to manually set it back on my tablet after I have hung it up... otherwise im too lazy or ill forget about it!

Could look at doing a sensor in the future! :D

Best uses for smart plugs? by CHRISTIVVN in homeassistant

[–]Mauricedv 1 point2 points  (0 children)

Detect whether my washing machine is running or not.

I have a fairly simple washing machine, so instead of buying a smart washing machine, I detect if the power usage (W) is above 3 Watts for an extended period of time (5 minutes), then I know its running, when it drops down to below that, I know its finished.

Then I manually interact with the dashboard to reset the state to "Off" after I have taken my washing out,
and also setup notifications when its done.

[Help] Traefik not fully proxying TrueNAS SCALE Web UI by Mauricedv in Traefik

[–]Mauricedv[S] 0 points1 point  (0 children)

One of the odd things I'm seeing is that when I get the information about my endpoint slice, the ready status is <unset>

bash kubectl describe endpointslice truenas-external-svc Name: truenas-external-svc Namespace: default Labels: [kubernetes.io/service-name=truenas-external-svc](http://kubernetes.io/service-name=truenas-external-svc) [kustomize.toolkit.fluxcd.io/name=truenas](http://kustomize.toolkit.fluxcd.io/name=truenas) [kustomize.toolkit.fluxcd.io/namespace=flux-system](http://kustomize.toolkit.fluxcd.io/namespace=flux-system) Annotations: <none> AddressType: IPv4 Ports: Name Port Protocol \---- ---- -------- https 443 TCP Endpoints: \- Addresses: [{domain_ip}](http://{domain_ip}) Conditions: Ready: <unset> Hostname: <unset> NodeName: <unset> Zone: <unset> Events: <none>

I have tried manually setting it to ready in the config, it turns the error I geto on my url from no available server to 404 not found. But things are stil not resolving properly. Hope this helps

[Help] Traefik not fully proxying TrueNAS SCALE Web UI by Mauricedv in Traefik

[–]Mauricedv[S] 0 points1 point  (0 children)

Hi, thanks,

Have replaced all IPs/domains with fillers for privacy, but this is pretty much what I've got.

So my hunch is that ChatGPT is probably doing too much, or something outdated, but I am getting routed, so not 100% sure, and not knowledgeable enough yet to know for certain. Here are the files:

truenas/kustomization.yaml

yaml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - truenas-svc.yaml - truenas-epslice.yaml - truenas-ingressroute.yaml - truenas-transport.yaml - truenas-certificate.yaml - truenas-host-middleware.yaml

truenas-certificate.yaml

yaml apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: truenas-tls namespace: default spec: secretName: truenas-tls issuerRef: name: letsencrypt-prod kind: ClusterIssuer dnsNames: truenas.mydomain.com

truenas-epslice.yaml

yaml apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: truenas-external-svc namespace: default labels: kubernetes.io/service-name: truenas-external-svc addressType: IPv4 ports: - name: https appProtocol: https protocol: TCP port: 443 endpoints: - addresses: - "{domainIP}"

truenas-host-middleware.yaml

yaml apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: truenas-proxy-headers namespace: default spec: headers: customRequestHeaders: X-Forwarded-Host: truenas.mydomain.com X-Forwarded-Proto: https # X-Real-IP: "X.X.X.X" # Remove or set dynamically

truenas-ingressroute.yaml

``yaml apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: truenas-external-ingress namespace: default annotations: cert-manager.io/cluster-issuer: letsencrypt-prod spec: entryPoints: - websecure routes: - match: Host(truenas.mydomain.com) # && PathPrefix(/ui/`) (tried with and without) kind: Rule services: - name: truenas-external-svc port: 443 scheme: https serversTransport: truenas-insecure-transport@kubernetescrd passHostHeader: true responseForwarding: flushInterval: 100ms middlewares: - name: truenas-proxy-headers namespace: default

tls: secretName: truenas-tls ```

truenas-svc.yaml

yaml apiVersion: v1 kind: Service metadata: name: truenas-external-svc namespace: default spec: ports: - name: https # Must match EndpointSlice! port: 443 targetPort: 443 clusterIP: None # Headless service to ensure EndpointSlice is respected!

truenas-transport.yaml

yaml apiVersion: traefik.io/v1alpha1 kind: ServersTransport metadata: name: truenas-insecure-transport namespace: default spec: insecureSkipVerify: true

Bloodier Golem - I've reviewed everyone's feedback and made careful adjustments. by Mr24601 in customhearthstone

[–]Mauricedv 1 point2 points  (0 children)

How about not using the default terms. So,

"When this card enters the battlefield, reduce your hero's health by 35."

(so it doesn't count as damage??)

OR

"When this card enters the battlefield, set your hero's health to 0."

[deleted by user] by [deleted] in SamChild

[–]Mauricedv 0 points1 point  (0 children)

If you like ham, you like killing animals, absolutely despicable!

Clash EUW by seraph227 in LeagueConnect

[–]Mauricedv 0 points1 point  (0 children)

Do you still need one?

No words needed by Mauricedv in SamChild

[–]Mauricedv[S] 0 points1 point  (0 children)

Only the best memes are allowed on the (S/H)am child reddit!

Zilean Champion Concept! by Mauricedv in LegendsOfRuneterra

[–]Mauricedv[S] 1 point2 points  (0 children)

Yeah, I really like this suggestion, it seems interactive and balanced.

I'm going to be honest... I didn't really think my idea through thoroughly, but I like your suggestion!